Closed
Description
Currently toc_depth defines up to which section level “n” ( <h1> to , where 1 <= n <= 6) to include in the Table of Contents.
Would be nice to have it not only defining up to which but from and up to which section level to include in the Table of Contents.
So you could include section level only from range h2
to h6
to the Table of Contents.
I could pass in a PR, should I change toc_depth to an array or introduce a new config value (e.g. toc_height)?
use case
I want to use h1
as sole document title and so it should not be part of the ToC.
Metadata
Metadata
Assignees
Labels
No labels