Open iyaja opened 4 years ago
@willingc FYI this is also being hit by us and by @allendowney at the moment. I've tracked it down to a pandoc issue in all versions since 2.3:
Because nbconvert is passing one cell at a time to pandoc, it's triggering this renumbering.
cc @hamelsmu
The asciidoc exporter converts all heading levels specified in markdown cells to H2.
To reproduce the issue:
nbconvert --to asciidoc notebook_name.ipynb
This error can be reproduced on https://jupyter.org/try as well.
As an example, here is a notebook with multiple markdown header levels:
Here is what it is converted to in asciidoc:
Nbconvert version: 6.0.7