You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 25, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Feb 25, 2026. It is now read-only.
Markdown escape character is not working properly for the code block #1880
changed the title [-]Markdown escape character is not supported[/-][+]Markdown escape character is not working properly for the code block[/+]on Mar 11, 2018
I believe that is how GitHub does it, but not all markdown renderers are the same. I agree it would be great to support this as well, but not parsing exactly like GitHub does not automatically categorize this as a bug. For example, looking through the commonmark spec I don't see this as listed.
Activity
[-]Markdown escape character is not supported[/-][+]Markdown escape character is not working properly for the code block[/+]nmetulev commentedon Mar 15, 2018
Not sure if this is a bug, rather a feature request. The parser supports escape characters but you need to escape each character. ex:
cc\ @WilliamABradley
Vijay-Nirmal commentedon Mar 15, 2018
@nmetulev Normally, the below method is the way to escape the code block but this is not working in MarkdownParser. So this is a bug.
nmetulev commentedon Mar 15, 2018
I believe that is how GitHub does it, but not all markdown renderers are the same. I agree it would be great to support this as well, but not parsing exactly like GitHub does not automatically categorize this as a bug. For example, looking through the commonmark spec I don't see this as listed.