Mathematics has a rhythm

A short expression such as E = m c 2 fits naturally into a sentence. A derivation that needs more space gets a line of its own:

0 1 x 2 d x = 1 3

Shape and meaning

SVG preserves the visual shape. MathML preserves mathematical structure. Both matter when making an expression available to readers.

Source becomes a vector graphic. The integral of t squared from zero to x equals x cubed divided by three.Source becomes a vector graphic. The integral of t squared from zero to x equals x cubed divided by three.
A Typst figure with fonts and colors resolved during the build.
( 1 0 0 1 ) ( x y ) = ( x y )

Read it in context

Inline code, links, and formulas should work together. Colors follow the reading theme, and long display equations can scroll within their own region.

Dollar signs inside code remain code:

ts
const price: string = '$20';

This sample is a useful check for fractions, matrices, and small screens.