-
Notifications
You must be signed in to change notification settings - Fork 886
Closed
Labels
extensionRelated to one or more of the included extensions.Related to one or more of the included extensions.featureFeature request.Feature request.
Description
Use case
Take a document, such as an API description, or a document converted from Org mode, with lots of deep-level headers and very short texts under each of them.
A TOC of such a document becomes excessively long and detailed. (My particular case is what mkdocs generates.)
A fix
- Add a config parameter that optionally limits the maximum level of headers included in the TOC.
- Filter the levels where they are generated according to that parameter.
I'll gladly make a PR, but would appreciate any advice on the best way to add a config parameter.
Metadata
Metadata
Assignees
Labels
extensionRelated to one or more of the included extensions.Related to one or more of the included extensions.featureFeature request.Feature request.