Math

Render LaTeX equations with KaTeX.

Usage

E=mc2E = mc^2

Props

PropTypeDescription
equationstringThe LaTeX expression. Alternatively, put the expression in the body.
captionstringOptional caption shown below the rendered equation.

Variants

E=mc2E = mc^2
Einstein's mass–energy equivalence
i=1ni=n(n+1)2\sum_{i=1}^{n} i = \frac{n(n+1)}{2}
Sum of the first n natural numbers