LaTeX math in the editor and preview
Starting with QOwnNotes 26.12.2, you can type LaTeX formulas directly into a Markdown note and see them typeset in the preview. Rendering happens offline by default, with no script or external LaTeX installation needed.

Try it in a note
Use single dollar signs for an inline formula and put double dollar signs on their own lines around a display formula. Copy the example into a note without the outer code fence:
# A little math
The normal density is $\phi(x) = \frac{e^{-x^2/2}}{\sqrt{2\pi}}$.
## The Gaussian integral
$$
\int_{-\infty}^{\infty} e^{-x^2}\,dx
= \sqrt{\pi}
$$
The inline equation stays in the paragraph, and the integral is centered on its own line in the preview. In the editor, commands like \frac and \sqrt, numbers, operators, and delimiters use distinct colors from your editor theme. That makes it easier to pick out commands and spot the braces and exponents while you edit. The note itself stays plain Markdown.
The screenshot also shows a single-line display formula, an escaped dollar sign in prose, and dollar signs inside inline code that are left alone.
Switching from the Latex Math script
If you installed the Latex Math script to render standard formulas, you can disable it after upgrading to 26.12.2. Unsupported formulas are shown as source in the built-in preview. To turn off rendering without losing editor highlighting, uncheck Render LaTeX math in the preview under Settings → Preview.
See the LaTeX math documentation for the syntax, or follow the discussion in #529.