Math Typesetting
Mathematical formulas written in LaTeX notation can be rendered to HTML without using javascript.
Rendering can take place either globally, or in specific locations using a built-in shortcode.
-
To render math globally, enable the passthrough extension in the site configuration.
Inline formulas such as $y=ax+b$ are supported, displayed formulas as well: $$ e^{i\pi}+1=0 $$
-
To render mathematical expressions in specific locations, surround them with the
math
shortcode:Inline formulas such as {{< math >}}y=ax+b{{< /math >}} are supported, displayed formulas as well: {{< math displayMode=true >}} e^{i\pi}+1=0 {{< /math >}}
Note: Use the online reference of Supported TeX Functions
Examples
Inline math: