Skip to content
This repository has been archived by the owner on May 27, 2021. It is now read-only.

Add option to specify --no-firsth1 (prevent h1 from being included) #62

Open
ahmetb opened this issue Oct 12, 2018 · 1 comment · May be fixed by #92
Open

Add option to specify --no-firsth1 (prevent h1 from being included) #62

ahmetb opened this issue Oct 12, 2018 · 1 comment · May be fixed by #92

Comments

@ahmetb
Copy link

ahmetb commented Oct 12, 2018

Original markdown-toc allows --no-firsth1 so people can exclude the h1 header at the end of the document.

There should be only one h1 in most markdown files anyway.

@ahmetb ahmetb changed the title Add option to provide --no-firsth1 Add option to specify --no-firsth1 (prevent h1 from being included) Oct 16, 2018
@mcornella
Copy link

You can do that with depthFrom:1.

@mcornella mcornella linked a pull request Sep 23, 2020 that will close this issue
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants