Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No min anchor level #23

Open
noraj opened this issue May 10, 2018 · 1 comment
Open

No min anchor level #23

noraj opened this issue May 10, 2018 · 1 comment

Comments

@noraj
Copy link

noraj commented May 10, 2018

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 #20) so the min anchor level of markdown-it is ignored.

@noraj
Copy link
Author

noraj commented May 10, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant