Open noraj opened 6 years ago
May be it is possible to do something like https://github.com/Oktavilla/markdown-it-table-of-contents with includeLevel
and some people will like listType
to switch between ul
and ol
(see https://github.com/bubkoo/hexo-toc/issues/21).
hexo-toc
only has amaxdepth
config but not amindepth
.One usually wants to avoid
h1
to be part of the TOC.markdown-toc
has only an option to exclude the firsth1
.hexo-toc
is not compatible withmarkdown-it
(see https://github.com/bubkoo/hexo-toc/issues/20) so the min anchor level ofmarkdown-it
is ignored.