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

Feature Request: Automatically skip lines to first or (N) TOC #24

Open
Skylion007 opened this issue Jan 17, 2021 · 1 comment
Open

Feature Request: Automatically skip lines to first or (N) TOC #24

Skylion007 opened this issue Jan 17, 2021 · 1 comment
Labels

Comments

@Skylion007
Copy link

A common use case seems like it would be skipping to the first TOC marker. It would be nice if instead of having the end user have to increment the SKIP_LINE number if we could specify a special value (like -1) to automatically skip to after the first TOC marker. You could even parameterize this so that (-2) represented the second marker and so on. It seems like it would be a useful utility that would prevent people from having to edit the args for the pre-commit hook anytime text above the TOC (like badges, project descriptions etc..) are updated.

@frnmst
Copy link
Owner

frnmst commented Jan 17, 2021

Yes, this might be useful

@frnmst frnmst added the feature label Jan 18, 2021
@frnmst frnmst pinned this issue Jul 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants