markdown-toc
markdown-toc copied to clipboard
Does not skip commented sections
When some sections in the document are commented they are still included in the TOC. They should be skipped.
Adds my python comments to TOC – frustrating...
Same with Shell examples:
## Command run as root, this command and the following line will be treated as an H2 and H1 by markdown-toc
# systemctl reboot
## Command run as normal user
$ uptime