How can I add a table of contents to a Jupyter / JupyterLab notebook?

后端 未结 10 1786
深忆病人
深忆病人 2020-12-12 11:12

The documentation at http://ipython.org/ipython-doc/stable/interactive/notebook.html says

You can provide a conceptual structure for your computationa

10条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-12 11:56

    I recently created a small extension to Jupyter named jupyter-navbar. It searches for headers written in markdown cells, and displays links to them in the sidebar in a hierarchical fashion. The sidebar is resizable and collapsible. See screenshot below.

    It is easy to install, and takes advantage of the 'custom' JS and CSS codes that get executed whenever a notebook is opened, so you don't need to manually run it.

提交回复
热议问题