[IPython-dev] Javascript in nbconverted html?

Jacob Vanderplas jakevdp at cs.washington.edu
Fri Sep 5 17:10:35 EDT 2014


Those look to be jquery problems. As I recall, in the live notebook, jquery
is loaded as part of the background environment. When you render the
notebook as standalone HTML, jquery is not loaded unless you do it
explicitly.
Hope that helps,
  Jake


On Fri, Sep 5, 2014 at 2:03 PM, Doug Blank <doug.blank at gmail.com> wrote:

> I'm trying to understand why JavaScript output shows in some nbconverted
> notebooks, and other notebooks don't show their output.
>
> For example, here is a set of Google Charts that render JavaScript nicely:
>
>
> http://nbviewer.ipython.org/urls/bitbucket.org/ipre/calico/raw/master/notebooks/Python/Google%20Charts.ipynb
>
> But these don't (it is the last one I am especially wondering about):
>
> http://nbviewer.ipython.org/gist/rdhyee/6131622
>
>
> http://nbviewer.ipython.org/url/jupyter.cs.brynmawr.edu/hub/dblank/public/Processing%20Tests.ipynb/%3Fraw
>
> I don't see anything in the browser console regarding errors or security
> issues. Any insight appreciated!
>
> -Doug
>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20140905/ae68d95a/attachment.html>


More information about the IPython-dev mailing list