Markdown previewer

How to use

Type Markdown on the left. The preview is built with createElement / textContent only (no innerHTML). Raw HTML in the input is shown as text. Links allow only http:, https: and mailto:. Images are shown as alt text plus the URL — remote images are never loaded. Nothing is uploaded.

Subset: headings, paragraphs, emphasis/strong, inline code, fenced/indented code, block quotes, nested lists (incl. task lists), thematic breaks, links, autolinks, hard breaks, and GFM-style tables. No HTML passthrough.