Testing out katex

// using shortcodes

Here is some inline math:

$a^2 + b^2 = c^2$

$$\int_0^\infty e^{-x^2} dx = \frac{\sqrt{\pi}}{2} $$

// Directly in the markdown

Here's an inline equation: $E = mc^2$

$E = mc^2$

Display equation:

$$ \frac{\partial f}{\partial x} = \lim_{h \to 0} \frac{f(x + h) - f(x)}{h} $$