Math (KaTeX)
Write LaTeX math directly in your card content. Single $ for inline math, double $$ for display math.
Inline math
The quadratic formula: $x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}$.
Renders as: $x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}$.
Display math
$$\int_{a}^{b} f(x) \, dx = F(b) - F(a)$$
Renders as:
$$\int_{a}^{b} f(x) \, dx = F(b) - F(a)$$
What's supported
KaTeX renders most LaTeX math primitives — fractions, integrals, sums, matrices, Greek letters, decorators. For anything KaTeX can't handle, MathJax is loaded as a fallback.
If math fails to render, it'll be left as plain text rather than crashing the card.