github-markdown-toc.go
github-markdown-toc.go copied to clipboard
[BUG] TOC picks up YAML
Describe the bug When running the tool on a .md file, for some reason, it generates a TOC item for the YAML I have at the top of my file. When I was using the shell script, it didn't pick up the YAML and generate a TOC item.
To Reproduce Use a .md file with YAML at the top and run the tool. The output shows the YAML code ad depth=1