Skip to main content
← Back to Blog

Markdown Math with LaTeX: Inline and Display Formulas

How $...$ and $$...$$ work for fractions, roots, and Greek letters in Markdown. Build messy expressions in NovaMath first, then paste.

In Markdown notes and blogs, math is still LaTeX under the hood: $...$ inline, $$...$$ for a block. Some renderers also take \(...\) / \[...\]—check yours.

High-frequency bits

  • Fraction: $\frac{a}{b}$
  • Roots: $\sqrt{x}$, $\sqrt[n]{x}$
  • Indices: $x_i^2$
  • Greek: $\alpha$, $\pi$
  • Sum: $\sum_{i=1}^{n} i$

Order that wastes less time

Get complex expressions right in the editor first, copy the LaTeX, then wrap with $ or $$. A few static-site generators are picky about backslash escaping—if preview looks wrong, check that before rewriting the math.

Finish the formula, then write the surrounding prose. Faster than fighting the renderer mid-sentence.