Skip to content
This repository has been archived by the owner on Nov 17, 2022. It is now read-only.

hyperlinking to a header within the same markdown page breaks the id of the header #58

Open
CorrieBartonVualto opened this issue Apr 28, 2020 · 0 comments

Comments

@CorrieBartonVualto
Copy link

I've noticed an issue when trying to link to a section within the same markdown file breaks the id.

For example, if I have this section:

## Current Trends

The link to it will be #current-trends. If however, I add this at the top of the page:

* [Current Trends](#current-trends)

the link to that header now becomes #id1.

From doing a few tests, it looks like its the text used for the hyperlink that causes issues. So because I set the link text to Current Trends and the header has the same name, it breaks it. I could use * [Current Trends](#id1) and it would work. But I'd like the header ids to have meaning

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant