Thursday, May 30, 2019

Jupyter Notebook Table of Contents Extension

Jupyter Notebook Table of Contents Extension comes really handy especially when I work on large notebooks with many different sections and want to navigate to specific sections easily and quickly. Since I had to google a few times to install it, I am posting the exact instructions here in case it may help others.

  • Install nbextensions Python package
    • pip install jupyter_contrib_nbextensions
  • Install javascript and css files
    • jupyter contrib nbextension install --user
  • Enable toc2 extension
    • jupyter nbextension enable toc2/main