LaTeX Rendering

Inline Math

Use single dollar signs for inline formulas:

The formula $E = mc^2$ is well known.

Renders as: The formula E = mc² is well known.

Display Math

Use double dollar signs for block formulas:

$$
\sum_{i=1}^{n} i = \frac{n(n+1)}{2}
$$

Code Blocks

Code blocks with latex or tex language identifier are also rendered:

```latex
\int_0^1 x^2 dx = \frac{1}{3}
```

leaf converts LaTeX notation to Unicode approximations using the unicodeit library.