Generate and update magically a table of contents based on the headlines of a parsed markdown file.
68
stars
37
forks
source link
Items in ``` ``` <- code blocks get inferred as headings when there are `#` comment lines #114
Open
ahuffman opened 5 years ago
You can test with this markdown file if you wish. I had to turn off auto-updates on save and manually fix up some of the toc: https://github.com/ahuffman/ansible-sudoers/blob/2.0.0/README.md
Basically the config examples in code blocks get headings inferred due to the
#
comment lines.