Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Nov 17, 2022. It is now read-only.
This repository was 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

@CorrieBartonVualto

Description

@CorrieBartonVualto

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions