Math Rendering in DocsForge
DocsForge includes KaTeX for zero-config math rendering.
Inline Math
You can write \(E = mc^2\) inline with single dollar signs.
Display Math
\[ \sum_{i=1}^{n} x_i = \frac{1}{n} \sum_{i=1}^{n} x_i \cdot n \]
Complex Equations
\[ \begin{aligned} \nabla \cdot \mathbf{E} &= \frac{\rho}{\varepsilon_0} \\ \nabla \cdot \mathbf{B} &= 0 \\ \nabla \times \mathbf{E} &= -\frac{\partial \mathbf{B}}{\partial t} \end{aligned} \]
Works out of the box — no configuration needed!