Direct answer
KaTeX is the fastest way to render math in markdown documents. It works well for formulas, fractions, derivatives, limits, and physics notation.
Inline examples
Energy equation: $E = mc^2$
Quadratic formula: $x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}$
Probability: $P(A \mid B)$
Block examples
$$
\frac{d}{dx} e^x = e^x
$$
$$
\int_{0}^{1} x^2 \, dx = \frac{1}{3}
$$
More notation
$$
\sum_{n=1}^{\infty} \frac{1}{n^2} = \frac{\pi^2}{6}
$$
$$
\nabla \cdot \vec{E} = \frac{\rho}{\varepsilon_0}
$$
Best practices for math-heavy articles
- Introduce notation once before using it repeatedly.
- Use inline math for short expressions and block math for proofs or derivations.
- Break long derivations into numbered steps so readers do not lose context.
- Pair formulas with one plain-language sentence explaining intent.
Clear explanation plus correct notation is what makes technical content easier to cite and reuse.
FAQ
Should I use inline or block math? Use inline math for short expressions and block math for anything you want to stand out.
Why use Markups? Because it previews math immediately and keeps the editing flow in one browser tab.