How is it done?
This site supports the LaTeX syntax and rendering through the MathJax engine.
You can use the normal LaTeX syntax, but you have to enclose the formulas in
$$ tags for centered formulas,
\$ tags for inline formulas.
There is a sandbox here, where you can find several examples.