-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
adding \ before <tag> should render it as "<tag>" and not parse as html #374
Comments
\
before <tag>
should render it as <tag>
and not parse as html
That's actually a non standard implementation. But since GFM (github) also uses it, we will implement it as a feature. |
what should be happening here is test: regular H1# escaped H1 |
Yes, I know. But, according to the markdown spec, escaping with backslash is reserved for characters that have special meaning in markdown context, not HTML. There's also the problem with unintended escapes. Example: 'This sentence uses a backslash <strong>followed by a strong tag` However, since GFM supports escaping html entities, this will be implemented as an option. |
turns out, github has escape for EVERY punctuation symbol: https://github.github.com/gfm/#example-296 likely due to regex smth |
Yeah, they changed it a bit in favor of commonmark. |
source code
how it should be
how it is now
/rel marked#884
The text was updated successfully, but these errors were encountered: