grimbough/msmbstyle

levels in table of contents

ericpgreen opened this issue · 1 comments

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

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.