billryan / billryan/gitbook-plugin-etoc

add toc automatically if the markdown has so many ## header2

Open
#5 2 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
JavaScript
Stars
22
Forks
2
PR merge metrics
No merged PRs in 30d

Description

it is a NICE feature that TOCs are generated automatically when the depth of headers is a greater than 3 by default.

while [this markdown](https://github.com/downgoon/vertx-translation-chinese/blob/dev/core/Core.md), has no level-3 headers, but so many level-2 headers that readers always 'get lost' in some section.

**i guess depending on the amount of level-2 headers will also be an additional nice feature.** setting ``mindepth=2`` can meet this case, but ``Zero Configuration`` will be much more greater ?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.