sinedied / hads

:books: Markdown superpowered documentation for Node.js
MIT License
167 stars 28 forks source link

Opt out of first heading in TOC #42

Open dalgard opened 5 years ago

dalgard commented 5 years ago

Rendering the first H1 level title heading in my README.md document as the outermost element in the TOC is very irrelevant.

It would be nice to be able to configure it so it starts on the second level of headers.

sinedied commented 5 years ago

Feel free to propose a PR for this, just make sure it does not break the current existing behavior ;)

Could be done by adding optional params like this for example: [[TOC:{minLevel: 2}]]