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
links to anchors to other headings not working #22
Comments
@fabbra Hello, and sorry for responding so late (several months, actually). I accidentally unwatched my own repository, and missed several issues in the process. I didn't realize this until right now, though. My apologies for the delayed response; I will look into the issue (and hopefully fix it) this evening. Did you find a workaround for yourself? I'm sorry if you had to stop using my tool due to me not fixing this in time.
I think the behavior is probably either caused by GitHub's web API, or by some internal code of the module. In the later case, I just need to change some code, and in the former one, I will parse the HTML and do some changes to the parsed HTML (using |
Turns out the behavior to start header ids with |
I fixed this now by making the tool change all internal links from |
perfect. thanks a lot for the fix! |
I have a markdown file with various headings and links inside the same file linking to those headings (i.e., linking to anchors in the same file) and converted this to HTML using the following code:
After conversion the "internal" links to other headings do not work anymore. My dirty workaround was to replace
id="user-content-
withid="
andclass="anchor"
with an empty string.I suppose there might be a more elegant solution to this?
The text was updated successfully, but these errors were encountered: