How to read math equations in Markdown

If a Markdown report shows \frac{a}{b} instead of a fraction, the formula may be fine. The app opening it needs to recognize its math notation.

Easy Markdown renders LaTeX-style equations inside a Markdown document. Open your .md file or paste the text to read the explanation and formulas together. It’s free, with no account or installation. Opening a file or pasting Markdown keeps the document in your browser; the app does not upload it.

Open your Markdown file

Inline equations and equations on their own line

An inline equation belongs inside a sentence. In this reader, a pair of single dollar signs marks it:

markdown
Energy and mass are related by $E = mc^2$.

Energy and mass are related by .

For a formula on its own line, put double dollar signs on separate lines around it:

markdown
$$
\bar{x} = \frac{1}{n}\sum_{i=1}^{n} x_i
$$

This example is the arithmetic mean: add the values, then divide by how many there are. A fenced block labelled math also renders as a display equation in Easy Markdown.

Copy the formula, not a screenshot

Click an inline equation to copy its LaTeX source, or use Copy LaTeX beside a block equation. The copied text contains the equation without the surrounding dollar signs. That makes it available for a follow-up question, another document or a tool that accepts LaTeX notation.

Wide equations scroll horizontally within the document. They keep their size instead of shrinking until the symbols are too small to read.

When the equation still looks wrong

The document uses different math markers. Some tools use \(...\) or \[...\]. Easy Markdown currently expects single-dollar inline math, double-dollar blocks, or math fences. If your AI supplied another form, ask: “Use $...$ for inline math and $$ on separate lines for block equations. Preserve the formulas.”

It is inside an ordinary code block. Code blocks—the sections between three-backtick lines—display their contents literally. Keep an equation outside that block, or label the block math to render it. If the entire pasted document has an extra pair of three-backtick lines around it, remove only that outer wrapper.

You need a literal dollar sign. Single-dollar math is ambiguous in text about money. In this reader, keep the delimiters directly beside the equation: $x^2$, not $ x^2 $. Escape a literal dollar sign with a backslash, as in \$20, when needed. Ordinary text such as $5 and $10 remains prose.

A command is unsupported or misspelled. The reader uses KaTeX, which supports many LaTeX math commands but not every LaTeX feature. Its supported-functions list is the useful reference. Invalid equations show their source so you can correct them without losing the surrounding document.

A Markdown reader, not a LaTeX compiler

This feature is for equations in notes, reports and explanations. It does not compile .tex documents, load LaTeX packages or turn a paper into a PDF. Markdown files can be up to 256 KiB when opened locally.

If your AI gives you an Easy Markdown reader link, it uses a different route: the agent sends the document to our API, and anyone with the returned link can read it. Our privacy page explains that distinction.

Open your document · Read Mermaid diagrams in Markdown