Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Add anchor link support within detection / jumping / completions #24
This is a proposal to add support to detect these types of links:
<a id="top-of-page"></a> MD: Go to [top](#top-of-page) HTML: Go to <a href="#top-of-page"></a>
On Github, it would be perfectly valid to go to
# This is a header With some text ## This is a header
While the second header is a H2, the generated fragment will be "#this-is-a-header".
When adding a fragment identifier like so:
# This is a header With some text <a id="this-is-a-header"></a> ## This is a header
This time there is an extra anchor using an "id" value of a header that already exists.