hexo-toc
hexo-toc copied to clipboard
No min anchor level
hexo-toc only has a maxdepth config but not a mindepth.
One usually wants to avoid h1 to be part of the TOC. markdown-toc has only an option to exclude the first h1.
hexo-toc is not compatible with markdown-it (see https://github.com/bubkoo/hexo-toc/issues/20) so the min anchor level of markdown-it is ignored.
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).