What is Markdown Preview?
Markdown Preview renders GitHub-flavored Markdown on the fly so you can draft READMEs and comments with full visual feedback.
How to use
- Type Markdown on the left.
- See the rendered HTML on the right.
- Copy the HTML when you are done.
Example
Use this sample to confirm what Markdown Preview does before pasting your own data.
# Hello\n\n**bold** and `code`
<h1>Hello</h1><p><strong>bold</strong> and <code>code</code></p>
Rendered HTML is sanitized with DOMPurify before display.
When to use it
Use Markdown Preview for quick local checks, debugging, documentation prep, and one-off conversions where opening a full IDE or command-line workflow would be slower. For production-critical data, always review the output before committing or shipping it.
Frequently asked questions
Is the HTML sanitized?
Yes — output is sanitized via DOMPurify so it is safe to paste into a CMS.
Does it support tables and code blocks?
Yes. GFM is enabled.