-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Colon (:
) between 2 words in header disappears
#679
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
Comments
FYI: https://daringfireball.net/projects/markdown/syntax#backslash `/autocontrast:3/`
|
Ah, sorry, I missed the Will check later. |
Thanks! I would be equally happy with a workaround if a proper fix is too complicated ;) Can you point to the documentation which describes this |
This page describes a few configs you can use: https://docsify.js.org/#/helpers?id=customise-id-for-headings |
To everybody who has the same problem. The regexp is here. The workaround I found is to use other colon: https://unicode-table.com/en/A789/ |
Just realized it's not good workaround if you allow users to copy it and use somewhere where the fact that it's a real colon is important ;D |
AFAIU It does not make sense to set more than 1 id for heading, so it's enough to remove |
We should allow the user to use the content of |
We're affected by current bug and we use same Markdown in docsify and NOT in docsify at same time. So adding escapes like this maybe use this PR instead #708 |
Related: #698 |
This proved an acceptable workaround for me. Thanks @sylwekb |
@jonesjj be careful. If you want your users/readers to be able to use the headline by copying it, they will copy the wrong colon, and anything that needs to interpret it won't work - that's my case. |
Hey,
I use a header like this:
### `/autocontrast:3/`
The result is:

And the html looks like this:
Tried on Firefox and Chrome, in both cases the
:3
is missing. I have thenoEmoji: true,
setting but it seems docsify still tries to parse.Please help :)
The text was updated successfully, but these errors were encountered: