This theme supports rendering beautiful math in inline and display modes using KaTeX engine. You just need to surround your math expression with
$$ E = mc^2 $$. If you leave it inside a paragraph, it will produce an inline expression, just like .
To use display mode, again surround your expression with
$$ and place it as a separate paragraph. Here is an example: