Markdown Formatter & Previewer
Format and preview Markdown. Uses the browser (marked.js) for rendering and DOMPurify to sanitize output when requested.
How to use
- Paste or write Markdown into the Markdown Input box.
- Toggle Live Preview to update the preview automatically while typing, or click Render to update manually.
- Enable Sanitize Output to remove any unsafe HTML from rendered output (recommended for untrusted input).
- Use Copy HTML or Download HTML to export the rendered HTML, or Copy Markdown to copy the raw Markdown.
Notes: This uses the browser's JavaScript libraries. For advanced parsing options, I can add toggles for GitHub-flavored Markdown or custom renderer hooks.