hexo-toc icon indicating copy to clipboard operation
hexo-toc copied to clipboard

No min anchor level

Open noraj opened this issue 7 years ago • 1 comments

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.

noraj avatar May 10 '18 17:05 noraj

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).

noraj avatar May 10 '18 19:05 noraj