github-markdown-toc
github-markdown-toc copied to clipboard
New feature to cut TOC items down to a given level
This tool is great! I'd like to suggest this improvement: allow me to specify the deepest heading level I want to consider to build the TOC, e.g., --max-level 2, it will only consider # and ## headers, it will skip from ### or more.
Hi @marco-brandizi
Please, look on the go-based version of this tool:
- https://github.com/ekalinin/github-markdown-toc.go
It has such option: --depth
Cool! Thank you!