Open lucianmarin opened 11 years ago
I second this. It would be a fantastic feature to add as an 'extra', I think.
Pull Requests are welcome and encouraged :D
I am here from trying to fix an issue in pdoc
pdoc
runs MathJax.typeset()
(in the browser) after the page is generated in python using markdown2.markdown()
. This results in an awkward conflict to do with backslash escaping \\
To fix the problem I am trying to understand this unexpected behaviour of markdown2
: It seems to incorrectly handle escaping of backslashes if a docstring is an r-string?
edit: The problem is definitly with pdoc. I think markdown2 is working as intended.
It will be great to have LaTeX support with markdown2. LaTeX code that can be converted to MathML:
Everything between $$ should be rendered as MathML code inside a math tag.
Marked app as an example.