Mathematical formulas

Is there any way to render mathematical formulas or basic latex code in forum posts?
Thank you

@Shawn, can we enable the MathJax plugin for Discourse?

Sure, will look into it.

@tromer math plugin has been enabled:

The math plugin uses MathJax to render maths.

You can render blocks of maths by wrapping with $

$
\hat{H}\Psi=E\Psi
$

You can render inline math by wrapping with a single $ like so: $E=mc^2$ .

Discourse math uses a heuristic to ensure that sentences such as: “I spent 20$ and another 100$” do not get converted.

2 Likes