Skip to content
GitHub

Equations

Choose Equation in the / block menu (aliases: math, latex, formula), or write a math block yourself. Each line is one equation:

```math
x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}
E = mc^2
```

The preview shows:

x = (−b ± √(b² − 4ac))/(2a)
E = mc²

$$ … $$ works too, on one line or spread over several:

$$ \sum_{i=1}^{n} i = \frac{n(n+1)}{2} $$
  • Greek letters: \alpha → α, \Omega → Ω
  • Operators and relations: \pm, \times, \leq, \neq, \approx, \infty
  • Arrows: \to, \Rightarrow, \leftrightarrow
  • Superscripts and subscripts: x^2 → x², a_n → aₙ
  • \frac, \sqrt, \sum, \int, \mathbb{R} → ℝ and accents

Unicode has no superscript or subscript for some letters (such as q), so those keep their ^ or _: x^q stays x^q.

Equations print the same way when you export to PDF.