-
Notifications
You must be signed in to change notification settings - Fork 572
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nbconvert -Number Headings when exporting from jupyter ipython to html #1586
Labels
Comments
Any progress? I'm also interested in this feature. |
Try adding '_toc'as follows: |
+1 |
Following. Still have the same issue in 2023. The command above did not work for me. |
Hello, I have the same problem |
Same problem. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
The text was updated successfully, but these errors were encountered: