Closed Kamilcuk closed 1 week ago
Pandoc's algorithm for creating ids automatically is documented in the manual.
It isn't "wrong," it's just not what you're expecting.
Here are some things you can do:
### _section {#_section}
-f markdown+gfm_auto_identifiers
Explain the problem.
Pandoc when processing markdown sections removes the leading _ when producing html with id tag:
The id="section' is wrong, it should id="_section". This breaks the links, href="#_section" navigates to _section not to section.
What can I do to fix?
Pandoc version?