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

Skip heading as "first heading" if has .no_toc #36

Merged
merged 2 commits into from
May 20, 2020

Conversation

allejo
Copy link
Owner

@allejo allejo commented May 19, 2020

Don't assign our "first header" variable until after we've hit our first non-.no_toc heading.

Fixes #35

/cc @Philzen

@allejo allejo merged commit c5850a7 into master May 20, 2020
@allejo allejo deleted the hotfix/no-toc-first-heading branch May 20, 2020 03:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

{:no_toc} on highest level heading results in unrendered markup
1 participant