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

levels in table of contents #12

Open
ericpgreen opened this issue Apr 5, 2019 · 1 comment
Open

levels in table of contents #12

ericpgreen opened this issue Apr 5, 2019 · 1 comment

Comments

@ericpgreen
Copy link

Is it possible to limit the levels of the table of contents? I tried setting toc_depth: 1, but my TOC still displays 2 levels. I'd prefer to show only 1 level, and I have the particular challenge that some of my second level headings are set to not get section numbers (e.g., ## Heading 2{-}) and appear as NA in the TOC

@ericpgreen
Copy link
Author

I got around my problem by defining h6 (a heading I don't use) to look like h2 and now use ###### Heading 6{-} for the headings I want to look like h2 but not appear in the TOC.

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

No branches or pull requests

1 participant