[IPython-dev] Load custom.js file that is not in my ipython profile directory

David Ketcheson dketch at gmail.com
Wed May 7 03:24:14 EDT 2014


I'd like to load some javascript into the notebook from a .js file that is
not in my ipython profile directory.  This would allow me to distribute the
notebook and the .js file together and have users get the benefit of the
.js file in the notebook.

I know how to do the analogous thing with .css files, based on the content
of the last cell in this notebook:

http://nbviewer.ipython.org/github/barbagroup/AeroPython/blob/master/lessons/01_Lesson01_sourceSink.ipynb

How can I do the same for javascript?

-David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20140507/b43078c0/attachment.html>


More information about the IPython-dev mailing list