Math & formulas
Notesnook renders LaTeX math with KaTeX, so you can write \frac{a}{b} in a note and see a real fraction. There are two kinds: inline math, which sits inside a line of text, and a math block, which is centered on its own line in display mode.
Insert inline math
Inline math flows with the sentence around it, the way $E = mc^2$ would in a paper.
- Put the cursor where the formula should go.
- Click the
Morebutton in the first toolbar group (the one holdingBold,ItalicandUnderline) and chooseMath (inline). - Type the LaTeX into the editor that opens under the formula.
- Click anywhere outside it to render.
There is no keyboard shortcut for inline math. With Markdown shortcuts on, typing $$2 + 2 = 4$$ converts to inline math as soon as you close the second pair of dollar signs.
The Math (inline) button is disabled while the cursor is inside a code block.

Insert a math block
A math block is rendered in display mode — centered, on its own line, with full-size operators.
- Place the cursor on an empty line.
- Click the
+(Insert) button in the toolbar. - Choose
Math & formulas. - Type the LaTeX and click outside the block.
Ctrl+Shift+M (⌘+Shift+M on macOS) inserts a math block from anywhere in the note.
With Markdown shortcuts on, typing $$$ followed by a space also creates a math block.
Markdown shortcuts need Essential
The $$…$$ and $$$ shortcuts are Markdown shortcuts, part of the Essential plan and above, and they are off by default on web and desktop — switch on Markdown shortcuts in Settings → Customization → Editor. They are on by default on mobile. The toolbar buttons and Ctrl+Shift+M work on every plan.
Edit a formula you already wrote
Click (or tap) a rendered formula. It expands to show its LaTeX source in a small editor in place, with the rendered result above it. Change the source, then click outside the formula — or move the cursor away — and it re-renders immediately.
An empty formula renders as an empty placeholder rather than disappearing, so you can always find it again.
Write chemistry equations
The mhchem extension is loaded alongside KaTeX, so \ce{...} notation works out of the box:
\ce{2H2 + O2 -> 2H2O}
\ce{SO4^2- + Ba^2+ -> BaSO4 v}What happens when the LaTeX is invalid
Notesnook never throws away your input over a typo. KaTeX renders unrecognized commands in red inside the formula and leaves everything it could parse rendered normally, so a stray \frac{1} shows you exactly where the problem is. The raw LaTeX you typed is untouched — click the formula and fix it.
Related pages
- Editor toolbar — every tool and block available in a note
- Code blocks — syntax-highlighted code, with 297 languages
- Markdown shortcuts — the full shortcut list and how to enable it
- Plans & limits — which editor features need a paid plan
- Personalizing the editor — fonts and title formats
