Skip to content
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

Support multiple headers with the same text #6

Closed
sebdah opened this issue Nov 15, 2017 · 0 comments
Closed

Support multiple headers with the same text #6

sebdah opened this issue Nov 15, 2017 · 0 comments

Comments

@sebdah
Copy link
Owner

sebdah commented Nov 15, 2017

Currently we do not support Markdowns with the same header twice, like this:

# Header 1
Content
# Header 1
Content

Our ToC looks like this:

- [Header 1](#header-1)
- [Header 1](#header-1)

But should look like this:

- [Header 1](#header-1)
- [Header 1](#header-1-1)
sebdah added a commit that referenced this issue Nov 15, 2017
This commit will allow users to have headers with the exact same content twice.
The first link will be rendered as usual. The second link will have `-1`
appended.

Closes #6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant