Math

Render LaTeX equations with KaTeX.

Usage

E=mc2E = mc^2

Props

Prop Type Description
equation string The LaTeX expression. Alternatively, put the expression in the body.
caption string Optional 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