-
Notifications
You must be signed in to change notification settings - Fork 29.5k
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
Markdown preview handles escaping incorrectly #6689
Comments
This is the default behavior of Markdown, if you are going to escape |
That's true for the original markdown spec that @rebornix referenced. For example, VSCode supports ``` and ~~~ syntax for codeblocks, which is not part of the original markdown spec. I would suggest follow CommonMark anyway, because
From that point of view, CommonMark has a clear guidence about back-slash escaping. |
@vors, thanks your detailed info. Currently we are using markd.js , which targets both the original makrdown and gfm. That's why you can see those fenced blocks work and terrible escaping hack. But good news is, like what you suggested, we are moving the markdown parser to commonmark and we will supporr backslash escaping. |
It looks like markd.js will switch to CommonMark. As is, it's not GFM compatible (because horrible escaping hack works just fine on github). < horrible hack > I personally find |
Agree, current markd.js GFM support is not 100% compatible (IMHO) but that's Okay. Once we finish #6106 we can revisit this issue. |
Markdown preview rendered should treat
\<
as<
,\[
as[
and so onVersion 1.1.1
Commit def9e32
Date 2016-05-13T13:29:20.776Z
Shell 0.37.6
Renderer 49.0.2623.75
Node 5.10.0
Steps to Reproduce:
Expected result
SYNOPSIS
Add-GistFile -Id -Path <string[]> []
Actual result
The text was updated successfully, but these errors were encountered: