Math & KaTeX — Example

Math Examples

Inline math example: Euler’s identity eiπ+1=0e^{i\pi} + 1 = 0 should render inline. This sample uses quoted datetime frontmatter with an explicit timezone; date-only values such as 2025-06-03 are also supported.

Block math example:

∫0∞e−x2 dx=π2\int_{0}^{\infty} e^{-x^{2}} \, dx = \frac{\sqrt{\pi}}{2}

Display another equation:

∑n=1∞1n2=π26\sum_{n=1}^{\infty} \frac{1}{n^{2}} = \frac{\pi^{2}}{6}

End of math tests.