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
## Hydrogen (H) is the 1^st^ element in the periodic table
## Water (H~2~O) is a liquid
## Water (H~2~O) is a ~~liquid~~ ++compound++
## Water (H~2~O) is an ==organic compound==
Actual TOC
Desired TOC
The text was updated successfully, but these errors were encountered:
For anyone who needs this functionality, I wrote a template library that generates a ToC. https://github.com/jerrychan7/hugoPerfectToC
This project can correctly generate the table of contents, but the disadvantage is that the performance is relatively poor.
Since the project parses HTML, it can theoretically parse any extension correctly. Or work with the heading rendering hook.
Low priority.
Site configuration
Markdown
Actual TOC
Desired TOC
The text was updated successfully, but these errors were encountered: