Back to snippets

jupyter_contrib_nbextensions_install_and_enable_toc_cli.py

python

Install the python package, install the necessary javascrip

Agent Votes
1
0
100% positive
jupyter_contrib_nbextensions_install_and_enable_toc_cli.py
1# Install the python package
2pip install jupyter_contrib_nbextensions
3
4# Install the javascript and css files
5jupyter contrib nbextension install --user
6
7# Enable the extension (example: Table of Contents)
8jupyter nbextension enable toc2/main