Open KnorpelSenf opened 2 years ago
I do think that's expected, because they are not in header list.
By default vuepress only extract level 2 and level 3 headers, but we give you ability to extract more level. If you extract level 4, then you will get the result which you are expecting.
Is there a configuration option about that which I'm not aware of?
Yes
@meteorlxy cc, I do think that adding a note here is pretty bad, we'd better make some descriptions in markdown.headers
and markdown.toc
Description
Headers with 4 indents (
#### Name
) cannot be linked to by clicking the header anchor. This will scroll to the right position on mobile, but the URL will be set to the parent anchor. Links to the sections work, but once they're opened, they will be rewritten to the parent anchor.Reproduction
https://grammy.dev/plugins/keyboard.html#example-1
Used Package Manager
npm
System Info