russross / blackfriday

Blackfriday: a markdown processor for Go
Other
5.44k stars 600 forks source link

using BlackFriday with math #220

Open amlwwalker opened 8 years ago

amlwwalker commented 8 years ago

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?

Thanks

dmitshur commented 8 years ago

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 Githubissues.

  • Githubissues is a development platform for aggregating issues.