Learn Before
Code

KaTeX\KaTeX Math Formulas

To render a mathematical formula with KaTeX\KaTeX, wrap the expression in double dollar signs (......). Single dollar signs must not be used, as they can cause parse errors when multiple expressions appear in the same paragraph.

Example: f(x)=x2+1f(x) = x^2 + 1 renders as: f(x)=x2+1f(x) = x^2 + 1

0

1

Updated 2026-05-16

Tags

1Cademy