# Markdown LaTeX Math to PDF

KaTeX renders display and inline math before Chromium prints the page.

## Display math (latex fence)

```latex
\frac{\partial L}{\partial w} = \sum_{i=1}^{n} (y_i - \hat{y}_i) x_i
```

## Inline and $$ delimiters

Inline: the mass–energy relation is $E = mc^2$.

Display:

$$
\int_0^1 x^2 \, dx = \frac{1}{3}
$$

Also supported: `\(...\)` and `\[...\]` delimiters in prose.
