Blog
11/4/2025

Dhub now supports LaTeX equations

Dhub now supports LaTeXLaTeX math in your documents. Equations that you add to your Markdown pages are rendered with KaTeX for beautiful notation. See the video below for a demo.

Inline math

Inline math, like other inline elements, can appear in the middle of a sentence and flows with the surrounding text. To add inline math, type / to open the command menu and choose Inline Math.

Inline math renders in Markdown wrapped in single dollar signs $...$.

Inline math
The quadratic formula is $x = \frac{ -b \pm \sqrt{b^2 - 4ac} }{2a}$

The quadratic formula is x=b±b24ac2ax = \frac{ -b \pm \sqrt{b^2 - 4ac} }{2a}.

Block math

To add a LaTeX block, type / and select Math from the command menu.

LaTeX blocks use double dollar signs ($$...$$) on their own lines and render as centered, standalone equations.

Math block
$$
\int_{a}^{b} f(x) \, dx = F(b) - F(a)
$$
abf(x)dx=F(b)F(a)\int_{a}^{b} f(x) \, dx = F(b) - F(a)