Phuc Tran

Posted on

# Can we create Math symbols/expression in the Markdown editor?

I don't think so. I believe the current best practice would be to use mathml or mathjax. MathML wraps its content in [itex] tags, but browser support seems inconsistent and math is not a permitted html tag in Forem's markdown processor.
MathJax seems like a good option here (it supports LaTeX math mode commands) - $$a^2 + b^2$$ syntax, but that's not currently enabled (It would require adding a script to the editor and article/comment view pages). I don't know that there have been many other discussions about this, but it seems like it could be a good addition.