Closed
Description
Description
Really pleased to see that there is a table of contents feature! I’d love to be able to configure the min and max header levels to include. I’ve half accomplished this by overriding the toc.html to use min: 1 and max: 6, but the style doesn’t work with the nested lists properly. Ideally, the TOC entries would continue to indent up to the maximum. I’d offer a pull request but the styling is a little beyond my skillset.
Expected behavior
Specify following in front matter:
layout: single
toc: true
toc_min_header: 1
toc_max_header: 6
Headings from <h1>
to <h6>
should appear in the table of contents, and <h3>
should be more indented than <h2>
.