|
4 anos atrás | |
---|---|---|
.. | ||
binder | 5 anos atrás | |
notebooks | 5 anos atrás | |
schema | 5 anos atrás | |
src | 4 anos atrás | |
style | 5 anos atrás | |
.gitignore | 5 anos atrás | |
.prettierignore | 6 anos atrás | |
.prettierrc | 6 anos atrás | |
LICENSE | 7 anos atrás | |
README.md | 5 anos atrás | |
package.json | 4 anos atrás | |
toc.gif | 6 anos atrás | |
tsconfig.json | 4 anos atrás | |
tslint.json | 6 anos atrás | |
yarn.lock | 5 anos atrás |
A Table of Contents extension for JupyterLab. This auto-generates a table of contents in the left area when you have a notebook or markdown document open. The entries are clickable, and scroll the document to the heading in question.
Here is an animation showing the extension's use, with a notebook from the Python Data Science Handbook:
jupyter labextension install @jupyterlab/toc
For a development install, do the following in the repository directory:
jlpm install
jlpm run build
jupyter labextension install .
You can then run JupyterLab in watch mode to automatically pick up changes to @jupyterlab/toc
. Open a terminal in the @jupyterlab/toc
repository directory and enter
jlpm run watch
Then launch JupyterLab using
jupyter lab --watch
This will automatically recompile @jupyterlab/toc
upon changes, and JupyterLab will rebuild itself. You should then be able to refresh the page and see your changes.