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.