Cannot move to another page's anchor when clicking the link.
yes
Add a page named "doc1" with the following contents
## foo
here require large contents enough to scroll
...
...
...
...
...
## bar
some contents
markdown
[link to another page's anchor](doc1#bar)
Move to the "bar" on the page "doc1"
Just move to the page "doc1", but the scroll position is incorrect (=top).
https://shinout.github.io/docusaurus-incorrect-anchor-move-repro/docs
doc1#Images at Document Number 2(doc2)This should work as intended if you use lowercase, i.e. doc1#images instead of doc1#Images
Indeed! Anchor links are slugified hence will become lower case. Thanks Teik Jun! Hi there fellow 馃嚫馃嚞 -ean!
Hi Yangshun! :D
Thank you for your help.
Then I'm wondering how to link multibyte strings. I use Japanese and this happens when an anchor contains some Japanese characters. It won't work well.
Hi @shinout, if you think we should reopen, can you make a repro please?
I've made a repro for the issue mentioned by @shinout
To Reproduce:
It goes to the start of the page instead of the actual header
Reproducible Demo:
Repo: https://github.com/teikjun/docusaurus-anchor-repro
@teikjun Thank you for that! Btw are you an MLH fellow? Just wondering about the increased interaction here 馃槂
Yup, I'm an MLH Fellow! I heard about the fellowship from your tweet 馃槃
Oh that's great! Look @JoelMarcey I hired a fellow without knowing 馃帀
Welcome @teikjun!!
@teikjun Thank you for preparing reproduction!
@yangshun Thanks for reopen the issue.
Should I add to the title of this issue when using multibyte string ?
Most helpful comment
Oh that's great! Look @JoelMarcey I hired a fellow without knowing 馃帀