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

Handle duplicate slugs by appending a number. #1

Closed
wants to merge 1 commit into from

Conversation

STRML
Copy link
Contributor

@STRML STRML commented Apr 24, 2015

If more than one header in a document has the same text content,
they will be numbered (e.g. 'header', 'header-2', 'header-3',
and so on).

If more than one header in a document has the same text content,
they will be numbered (e.g. 'header', 'header-2', 'header-3',
and so on).
@valeriangalliat
Copy link
Owner

Thank you! I refactored a little bit and added a test case, then merged manually. Published in 1.1.0.

valeriangalliat added a commit that referenced this pull request Apr 24, 2015
valeriangalliat added a commit that referenced this pull request May 28, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants