-
Notifications
You must be signed in to change notification settings - Fork 0
Installing notebook extensions
Also see ipython-contrib/IPython-notebook-extensions for more details.
On Windows, install command-line git: https://git-scm.com/download/win
$ git clone [email protected]:ipython-contrib/IPython-notebook-extensions.git
$ conda build IPython-notebook-extensions
$ git clone [email protected]:ipython-contrib/IPython-notebook-extensions.git
$ cd IPython-notebook-extensions
$ python setup.py install
Launch the IPython notebook, and go to the /nbextensions
URL. For example, if your notebook server is at http://localhost:8888/tree
, go to http://localhost:8888/nbextensions
.
Scroll down to the Ruler extension and click on Activate
. You can adjust the parameters, for example, set color to #B3B3B3
to have a light grey line instead of the default red.
The Calico document tools provide functionality to generate a table of contents, to number all sections, and to move entire sections upwards or downwards inside the notebook. This makes dealing with larger notebooks substantially easier.
Installation is straightforward. First, run the following code inside a notebook cell:
!ipython install-nbextension https://bitbucket.org/ipre/calico/downloads/calico-document-tools-1.0.zip
Then run the following code in another notebook cell:
%%javascript
Jupyter.notebook.config.update({"load_extensions":{"calico-document-tools": true}})
After reloading the browser page, you should see additional toolbar buttons.