github-markdown-toc icon indicating copy to clipboard operation
github-markdown-toc copied to clipboard

New feature to cut TOC items down to a given level

Open marco-brandizi opened this issue 8 years ago • 2 comments

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.

marco-brandizi avatar Aug 17 '16 10:08 marco-brandizi

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

ekalinin avatar Aug 17 '16 10:08 ekalinin

Cool! Thank you!

marco-brandizi avatar Aug 17 '16 12:08 marco-brandizi