-
-
Notifications
You must be signed in to change notification settings - Fork 4.9k
TOC seems not suitable when skipping heading levels #2137
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
Comments
Seems it has been resolved on your site. |
I think I might know what is happened here. The title So far there is no better way to fix that issue, all we could suggest is not to skip any level of headings now. We will keep this issue opened until we came up with some better idea to solve this. |
@stevenjoezhang It appears that @ppoffice has already fix the issue in his icarus theme. Maybe we could borrow some idea from it. |
是否有计划修复这个问题? |
Uh oh!
There was an error while loading. Please reload this page.
When there is a link in the header, such as:
Then the toc generated seems a bit strange, just looks like:
Should not all the
<li class="toc-item toc-level-*">
be inol.toc
?Version:
And in this blog, there is a live demo.
The text was updated successfully, but these errors were encountered: