Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.

A markdown editor bug? cannot show corrected formula with mathjax

+1 vote
asked Dec 23, 2016 in Plugins by John Bao
I use markdown editor and mathjax to write math formula, sometimes it cannot show corrected form, here is the example:

$$(A_2)\int_{-\infty}^{+\infty} dx $$

Is this a markdown editor's bug?

When I use Basic Editor,it is OK.

Furthermore, in the Preview of markdown editor, the formula shows OK, but when I finish the editor, the answer shows problem.

Help me, please.
commented Dec 24, 2016 by John Bao
the problem comes from underscore _

1 Answer

0 votes
answered Dec 24, 2016 by fara
Here is a solution for pagedown preview:

But as far as I know there is no solution for php markdown.
Please let me know if you found any solution.