Dynamic math rendering with the katex plugin
# Basic Math
Inline math: The quadratic formula is $x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}$.
Display math (centered):
$$E = mc^2$$
$$\int_0^\infty e^{-x^2} dx = \frac{\sqrt{\pi}}{2}$$ Edit the equations below - preview updates automatically:
# My Custom Math
Try writing your own equations!
Inline: \(a^2 + b^2 = c^2\) (Pythagorean theorem)
Display mode:
\[\sum_{n=1}^{\infty} \frac{1}{n^2} = \frac{\pi^2}{6}\]
**Tip:** Use backslash-paren for inline, backslash-bracket for display.