Markdown asks very little of you: a hash for a heading, two asterisks for bold, a dash for a list item. What it does not give you, in a plain text file, is any sign that you got it right. A missing space after the hash, a link with its brackets and parentheses swapped, a list that never renders as a list: all of it looks fine in the source and fails quietly in the output.

A live preview closes that gap. You write on one side and watch the rendered result update on the other, so mistakes surface in the second they happen instead of after you publish. This guide covers the basic syntax set, what the preview shows you, and how the Markdown Editor with Preview on Ovatly pairs the writing pane with a sanitized HTML export of what you wrote.

Contents

  • Quick answer
  • What Markdown is, in plain terms
  • The basic syntax set
  • What the live preview does for you
  • How to write and preview, step by step
  • Worked example: from Markdown to HTML
  • Limitations and honest notes
  • Common mistakes
  • FAQs
  • Conclusion

Quick answer

Open the Markdown Editor with Preview, write or paste Markdown in the left pane, and read the rendered result in the preview on the right as you type. Check that headings, lists, links and code look the way you expect. When you need the markup itself, copy the sanitized HTML export from the box below the editor; it is the same safe HTML the preview shows.

What Markdown is, in plain terms

Markdown is a plain-text writing format. You mark up a document with a small set of readable symbols, and a renderer converts the result to HTML for display. The source stays legible on its own: a heading line reads like a heading even before anything renders it, which is why the format took over README files, documentation, notes and issue trackers.

This editor renders standard Markdown, CommonMark-style, via the marked renderer. That choice matters because it sets your expectations: the widely supported core syntax behaves the way it does everywhere else, while editor-specific extensions are not guaranteed to travel, a point the limitations section returns to.

The basic syntax set

Almost everything in everyday Markdown comes from a handful of patterns:

# Page heading
## Section heading

A paragraph with **bold** text in it.

- First list item
- Second list item

1. Numbered item
2. Next numbered item

[Link text](https://example.com)

A sentence with `code` inside it.

Read it line by line. A hash followed by a space makes a top-level heading; two hashes make the next level down. Surrounding a word with double asterisks makes it bold. Lines starting with a dash form a bulleted list, and lines starting with a number and a full stop form a numbered one. A link puts its visible text in square brackets and its address in parentheses, in that order. Short code inside a sentence is wrapped in single backtick characters. Longer code goes in a fenced block: a line of three backtick characters above the code and another below it, and the entry confirms fenced code blocks and pipe tables both render in the preview.

That is genuinely most of the format. Everything else is refinement, and all of it can be checked in the preview the moment you type it.

What the live preview does for you

The preview updates as you type, so it acts as a continuous proofread of structure rather than spelling. A heading that forgot its space shows up as an ordinary paragraph. A link with its parts swapped shows up as literal bracketed text. A list that starts too close to the paragraph above it shows up merged into that paragraph. Each of these is invisible in the source and obvious in the rendering.

The preview is also cleaned before it is shown. It is sanitized with DOMPurify, so markup you paste in cannot inject scripts into the page: script tags, event handlers and other active content are stripped, while harmless formatting tags pass through. The HTML export is that same safe HTML, which means what you copy is exactly what you were looking at.

How to write and preview, step by step

  1. Open the Markdown Editor with Preview and write or paste Markdown in the left pane.
  2. Watch the preview update as you type on the right.
  3. Check that headings, lists, links and code render the way you expect, and fix the source where they do not.
  4. Copy the sanitized HTML export from the box below when you need the markup.

Worked example: from Markdown to HTML

Writing this in the editor:

# Title

Hello **world**

produces this HTML in the export box:

<h1>Title</h1>
<p>Hello <strong>world</strong></p>

In the preview you see the same result as a reader would: a large heading reading Title, and a paragraph with the word world in bold. The value of the example is the loop it demonstrates. The source, the rendering and the exported markup are three views of one document, and because two of them sit on screen while you write, a mismatch between what you meant and what you typed has nowhere to hide.

Limitations and honest notes

Nothing is saved. Refresh the page and the text is gone, so keep your source Markdown in your own files and treat the editor as a workbench, not a drawer.

The editor renders standard Markdown. Editor-specific extensions like task lists may render differently elsewhere, and the same caution applies in reverse: documents written for another tool's extended dialect can lose their special features here. Fenced code blocks and pipe tables are part of the standard set this editor handles.

Finally, the export is deliberately a safe subset. Sanitizing strips scripts, iframes and inline event handlers by design, so if a document genuinely depends on active content, this export will not carry it, and raw HTML you paste may partly disappear in the preview for the same reason.

Common mistakes

  • Leaving out the space after the hash. Without it, the line is a paragraph, not a heading. The preview shows this instantly, which is the point of writing with one.
  • Swapping the parts of a link. The visible text goes in square brackets and the address in parentheses. Reversed, the link renders as plain text.
  • Expecting pasted raw HTML to survive intact. Scripts, iframes and event handlers are removed by the sanitizer. That is a feature of the preview, not a bug in your document.
  • Writing the only copy in the editor. Nothing is saved. One refresh and the draft is gone; keep the source in your own files as you go.
  • Assuming every renderer treats extensions the same way. Task lists and other editor-specific extras may render differently in the tool your document ends up in.

FAQs

Why does some of my raw HTML disappear in the preview? Because the preview is sanitized. Harmless formatting tags pass through, but scripts, iframes and inline event handlers are removed by design, and the export matches the preview.

Is this the same as the Markdown to HTML Converter? They share an engine room but not a job: this is a writing surface with a live preview and a safe export; the converter in Website Tools is a straight code-in, code-out conversion.

Does it support tables and code blocks? Yes, fenced code blocks and pipe tables render in the preview, as they do in standard Markdown renderers.

Is my draft saved anywhere? No. Nothing is saved: refresh the page and the text is gone. Keep your source Markdown in your own files.

What kind of Markdown does it render? Standard Markdown, CommonMark-style. Editor-specific extensions such as task lists may render differently in other tools.

Conclusion

Markdown's one weakness was always the blind spot between writing and rendering, and a live preview removes it: structure you can see is structure you get right. The Markdown Editor with Preview adds a sanitized HTML export to that loop, so the markup you copy is the safe version you were just looking at. When the HTML you export needs characters shown as text rather than read as markup, the companion guide How to Encode and Decode HTML Entities covers that conversion, and the rest of the toolkit lives in the Developer Tools archive.