# Math and Diagrams Test

This page tests client-side rendering of Mermaid diagrams and KaTeX math.

## Mermaid Diagram

```mermaid
flowchart TD
    A[Start] --> B{Is it?}
    B -->|Yes| C[OK]
    B -->|No| D[End]
```

## Inline Math

The quadratic formula is $x = {-b \pm \sqrt{b^2-4ac} \over 2a}$.

## Block Math

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

## Another Diagram

```mermaid
graph LR
    A[Client] --> B[Server]
    B --> C[Database]
    B --> D[File System]
```
