Enable mathematical typesetting via the menu, Extras->Mathematical Typesetting, and use either AsciiMath between  (eg. a^2+b^2 = c^2`) or LaTeX in any text label. Here is an example. This feature is not available in the Confluence Server, offline and Chrome app.

This should only be enabled if the diagram contains mathematical typesetting as it affects rendering performance.

SVG export is currently not supported. MathJax is used for rendering.