Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Homepage: Markdown Links to Anchors Do Not Work #2450
Steps to Reproduce the Problem
The browser scrolls to the header “Data Types”
The browser tries to open
, which does not exist.
The problem does not occur on GitHub. If you retry the procedure from “Steps to Reproduce the Problem” here, everything will work as expected.
Thank you for this beautiful description of the problem! Seems like the markdown parser for our webpage behaves differently than the one from GitHub.
@Namoshek Do you know if this problem might be caused by parts written by you (iirc you implemented some logic to handle external links vs. links to GitHub?) or by the markdown parser we use?
A solution to this problem would also be to find some other way to specify anchors which work for every markdown parser we use.
Ok, during writing the above, I realized I'm on the wrong path. The file fetched by the website in the background contains a link like this
I guess a special case for anchor tags is required. Probably below line 31.
While doing some research, I saw some links in the documentation that should probably be changed to relative ones: /doc/tutorials/cascading.md (L7-L11)