Jupyter Notebook add Table Of Contents (TOC)

If you have a Jupyter Notebook with a lot of cells and Markups and you want to share it with your students or colleagues, then having a Table of Content (TOC) can be really very beneficial.

Table of Content using Extension:

    To create a TOC, you will need to first get an extension module jupyter_contrib_nbextensions

    pip3 install jupyter_contrib_nbextensions

    Next you execute,

    jupyter contrib nbextension install --user

    You can run this extension as follows.

    jupyter nbextension enable toc2/main

Create Table of Contents Manually

# Table of Content
## Introduction
### What is Python
### Hello World!
### Print Function

Facing issues? Have Questions? Post them here! I am happy to answer!

Author: Rakesh
Author Info:

Rakesh is a seasoned developer with over 10 years of experience in web and app development, and a deep knowledge of operating systems. Author of insightful How-To articles for Code2care.

Follow him on: X

Copyright © Code2care 2023 | Privacy Policy | About Us | Contact Us | Sitemap