Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Opt out of first heading in TOC #42

Open
dalgard opened this issue May 10, 2019 · 1 comment
Open

Opt out of first heading in TOC #42

dalgard opened this issue May 10, 2019 · 1 comment

Comments

@dalgard
Copy link

dalgard commented May 10, 2019

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
Copy link
Owner

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}]]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants