Use Table of contents
Table of contents is a tool that displays the structure of your notebook based on the headlines currently used in your markdown cells. You can open it from the left-hand sidebar, from the Tools main menu tab, from the command palette, or by using the CtrlShiftF12.
Table of contents is interactive: clicking a headline navigates to the respective section in the notebook.
![Table of contents Table of contents](https://resources.jetbrains.com/help/img/datalore/2025.1/ToC.png)
Use the markdown cell UI to add a table of contents and make it part of your output. This is a quick and easy alternative to writing the code manually.
Right-click the markdown cell where you want to generate a table of contents.
Select Generate table of contents from the context menu.
![Generated table of contents in a markdown cell Generated table of contents in a markdown cell](https://resources.jetbrains.com/help/img/datalore/2025.1/toc_in_notebook.png)
Thanks for your feedback!
Was this page helpful?