jupyterlab-toc icon indicating copy to clipboard operation
jupyterlab-toc copied to clipboard

Enhancment: keep TOC when exporting to HTML

Open andrea-vandin opened this issue 5 years ago • 2 comments

Dear all,

thank you very much for this great plugin. I often export my notebooks in HTML. It would be great to have the TOC preserved in the exported HTML file. At least the numbering of the (sub)-sections

andrea-vandin avatar Apr 26 '20 08:04 andrea-vandin

If you use jupyter_contrib_nbextensions you can use jupyter nbconvert FILE.ipynb --template toc2

vadella avatar May 28 '20 14:05 vadella

Yeah, that works, but it is much more complicated - requires installing additional libraries. On top of that, these libraries are incompatible now and there are a lot of compatibility problems. It would be much elegant to add TOC on top of the HTML file (or even better in separate left column).

stefansimik avatar Jul 17 '22 21:07 stefansimik