Closed
Description
I would like to be able to enable permalinks for headers out of the toc_depth
range. Currently only headers within the range get permalinks when permalink
is enabled. (Markdown==3.3.3
)
My use case is that I have pages that have a lot of headers. In order for the TOC to be not too large, I use toc_depth
to only include higher levels in my TOC. However, I would like users to still be able to directly link to the out-of-range headers if they need to.
More concretely, I have API documentation for modules. My TOC only goes down to class names, as including method names would be too much, but I'd still like users to be able to link directly to method headers.
Metadata
Metadata
Assignees
Labels
No labels