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
I am rendering maths with MathJax library, and for some reason \\ is escaped to \, when I put \\\ that gets escaped to \\ which is what I want. Where would this be happening, and why?
What about if you put \\\\, does that get correctly escaped to \\?
From my testing, that seems to be the case.
I think this is a normal part of Markdown spec. For example, you can use \< to escape the less-than symbol, which lets you write something like <script> in plain text. Note that I wrote \<script\> in Markdown, but it got escaped and displayed as <script>.
Activity
dmitshur commentedon Nov 23, 2015
What about if you put
\\\\, does that get correctly escaped to\\?From my testing, that seems to be the case.
I think this is a normal part of Markdown spec. For example, you can use
\<to escape the less-than symbol, which lets you write something like <script> in plain text. Note that I wrote\<script\>in Markdown, but it got escaped and displayed as<script>.See https://daringfireball.net/projects/markdown/syntax#backslash.
Does that answer your question?