-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow up to 6 levels of headers in the table of content and allow to …
…ignore h1 header Any number of levels is supported but since the official HTML supports only 6 levels (`h1` ... `h6`) an artifical limitation was added. This change affects two options: `toc_level` and `ordered_chapter_level`. Both can be set to a value between 0 and 6 (inclusive) where 0 means the feature is disabled. If either of the options is set to a value greater than 6 then 6 levels of headers are processed and a warning is emitted. This change also adds option 'ignore_top_header' to exclude h1 headers from the table of content and numbering.
- Loading branch information
Showing
3 changed files
with
122 additions
and
82 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters