📝 Markdown Live Preview

Write Markdown on the left, see rendered HTML on the right in real-time.

✏️ Markdown Input
👁️ Preview

Markdown is designed to be readable as plain text and to render cleanly as HTML, and the gap between those two views is where mistakes hide. This previewer renders your Markdown as you type, so you can see immediately whether a table aligned, whether a nested list indented correctly, and whether the emphasis you intended is the emphasis you got.

The whitespace rules that trip people up

Markdown is whitespace-sensitive in ways that are not obvious. A blank line between two blocks is required for a new paragraph; without it, lines merge. A list needs a blank line before it if it follows a paragraph in some parsers. Code blocks need either four spaces of indentation or triple backticks, and mixing the two produces unpredictable output. Two trailing spaces force a line break, which is invisible in the editor and surprising in the output.

Tables and the pipes

A Markdown table needs a header row, a separator row of dashes, and then data rows. The separator row is what many people forget, and without it the table renders as plain text with pipes in it. Column alignment is set with colons in the separator: `:---` left, `:---:` centre, `---:` right. Cell content cannot contain a literal pipe unless it is escaped.

Where Markdown differs between platforms

There is no single Markdown standard in practice. GitHub Flavored Markdown adds tables, task lists and strikethrough. Some renderers support footnotes, definition lists or math, and others do not. Raw HTML passes through in most implementations and is sanitized in a few. If you write for a specific platform, preview with that platform's rules rather than a generic renderer.

Frequently asked questions

Does this preview match GitHub exactly?

It follows CommonMark with the common GitHub extensions such as tables and task lists. Edge cases in link handling and HTML sanitization can differ from GitHub's own renderer.

Why is my table not rendering?

Almost always a missing separator row of dashes between the header and the body. A table needs three lines minimum: header, separator, and at least one data row.

Can I use HTML inside Markdown?

Usually yes, and most renderers pass it through. Some platforms sanitize it for security, so block-level HTML that works locally may be stripped when published.