-
Notifications
You must be signed in to change notification settings - Fork 5k
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
Header permalinks do not always work #858
Comments
Mmmm I was a bit worried about this. I suspect the addition of markdown-it-attrs broke these header IDs since the use of bracket notation creates clashes. We already use bracket notation on markdown headers to set explicit header ids (in order to keep anchor tags consistent across languages. More context on that feature can be found in the related issue. I wonder the best way to resolve this. @carlfairclough do you feel the |
I'd be keen to keep I'm unsure as to why manually adding IDs to each heading is necessary when it can be done automatically — why do anchor tags need to be consistent across languages, vs being relevant to the content on the page? |
I think I found a fix - PR coming shortly |
Re: the need for explicit IDs - does this issue not answer that question? Happy to explain if it doesn't. |
It appears that some permalinks are not working.
To Reproduce
Steps to reproduce the behavior:
What is an Ethereum wallet, and which one should I use?
permalink icon%3F
which is not in the heading idExpected behavior
The link should go to the heading
The text was updated successfully, but these errors were encountered: