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
Slugs and anchors don't match #40
Comments
narrowed it down to a dependency - an older install worked correctly. Here is my npm list for bfdocs:
|
The slugify function from string.js and the Renderer.prototype.heading function from marked.js differ slightly in their regex, leading to this issue. string.js slugify:
marked.js Renderer.prototype.heading:
For this whatsnew.md heading, "### Version 5.6", the results are:
marked.js:
|
styson
added a commit
to styson/beautiful-docs
that referenced
this issue
Sep 10, 2014
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For the TOC generation, the slugs and anchors that get generated don't match when there is semantic versioning or single quotes in the text.
The fragment used for the TOC drops the decimal point or quote.
The content id replaces each decimal point and quote with a dash.
manifest.json
whatsnew.md
and the results for the sidebar and content divs:
The text was updated successfully, but these errors were encountered: