Math Test

This is a test post for rendering math formulas with KaTeX.

Inline Math

Here is an inline formula: $E=mc^2$.
skdjfksdjlkfjksdjfkl

Block Math

Here is a simple block formula:

$$
\sin(x)^2 + \cos(x)^2 = 1
$$

$$
\begin{aligned}
\sqrt{b^2 - 4ac}
\end{aligned}
$$

$$
\begin{aligned}
a + b &= c \
x &= y - z
\end{aligned}
$$