[IPython-dev] How to hook js plugins into IPython Notebook
Jeffrey Tratner
jtratner at gmail.com
Wed May 1 15:49:55 EDT 2013
Hi all,
I'd like to write a js plugin for IPython Notebook, but I'm not clear on
what can be hooked into the interface. Specifically, I'd like to do the
following:
1. Add an item to the menu.
2. Add another keyboard shortcut. [and also if there already exist hooks to
register event listeners, etc. -- clearly it's not difficult to add another
event listener for keyboard shortcuts, but I'd like the plugin to be well
behaved].
3. Persist classes, IDs or data attributes into the notebook format between
sessions.
Also, can I count on `$` / `jQuery` being available going forward?
I'm happy to read docs on this and experiment myself, but I haven't found
anything that answers the above so far. I'm currently reading through the
ipython/jsplugins repo, but any tips on where to look or what to hook into
would be very appreciated.
I really love the notebook format - thank you all for making that happen!
Best,
Jeff
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20130501/c1890085/attachment.html>
More information about the IPython-dev
mailing list