
Math Rendering with Sätteri
Astro v7 ships Sätteri as the default Markdown processor, and its math feature renders LaTeX expressions via KaTeX — no plugins needed.
Inline math
Wrap expressions in single dollar signs: , , .
You can mix math with prose naturally. The quadratic formula gives the roots of any quadratic .
Display math
Use double dollar signs for centred block equations.
Euler’s identity:
The Gaussian integral:
Maxwell’s equations in differential form:
A worked example
The sum of the first natural numbers can be derived by writing the sum forwards and backwards:
Adding both rows gives , so:
Enable the math feature in astro.config.mjs with a one-line change:
processor: satteri({ features: {'math': true} })
That’s all it takes.