You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Im trying to export a ipynb notebook to html while maintaining the headers numbered with # in markdown cells, however, when i export using the following terminal command, the numbering of the sections is ignored.
Note: Headings auto-generated using toc nbextension.
terminal command:
jupyter nbconvert --TemplateExporter.exclude_input=True --no-prompt --to html sample.ipynb
To generate the numbered headings content of notebook is as follows(please ignore brackets below):
(#) SectionA
(##) SubsectionA1
(##) SubsectionA2
Please advise how can the numbering be maintained as per the defined hashtags when exporting to html.
Activity
gitcuz commentedon Dec 11, 2021
Any progress? I'm also interested in this feature.
oracle1987 commentedon Dec 11, 2021
Try adding '_toc'as follows:
jupyter nbconvert --TemplateExporter.exclude_input=True --no-prompt --to html_toc filename.ipynb
DheemanthBhat commentedon Jan 14, 2023
+1
JingyiShi commentedon Aug 26, 2023
Following. Still have the same issue in 2023. The command above did not work for me.
guigoruiz1 commentedon Dec 12, 2023
Hello,
I have the same problem
letian-w commentedon Apr 4, 2024
Same problem.