Open Alcampopiano opened 3 years ago
Hello,
Thanks so much for toc2!
In my notebook, some of my headers are written in HTML. For example,
Here you can see that the running notebook's ToC recognizes the HTML.
However, when I export to HTML using nbconvert as follows:
nbconvert
jupyter nbconvert my_notebook.ipynb --to html_toc --no-input
The exported notebook does not see the headers that were given as HTML. For example:
Is anyone able to point me in the right direction here (I assume I'm doing something incorrectly).
Al
You need to give an unique id to your header, i.e.,
<h1 id="header1" style="text-align:center;">ENVIRONMENTAL SCAN</h1>
Hello,
Thanks so much for toc2!
In my notebook, some of my headers are written in HTML. For example,
Here you can see that the running notebook's ToC recognizes the HTML.
However, when I export to HTML using
nbconvert
as follows:jupyter nbconvert my_notebook.ipynb --to html_toc --no-input
The exported notebook does not see the headers that were given as HTML. For example:
Is anyone able to point me in the right direction here (I assume I'm doing something incorrectly).
Al