[IPython-dev] Javascript in nbconverted html?

Brian Granger ellisonbg at gmail.com
Fri Sep 5 18:15:18 EDT 2014


In master jquery should be loaded onto the nbconvert output page, but
only if you use the full html style. Otherwise you have to add it
yourself.

On Fri, Sep 5, 2014 at 2:10 PM, Jacob Vanderplas
<jakevdp at cs.washington.edu> wrote:
> 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
>>
>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>



-- 
Brian E. Granger
Cal Poly State University, San Luis Obispo
@ellisonbg on Twitter and GitHub
bgranger at calpoly.edu and ellisonbg at gmail.com



More information about the IPython-dev mailing list