What this Markdown editor does
Markdown is the lightweight markup used by GitHub READMEs, documentation sites, note-taking apps and chat tools. This editor renders GitHub Flavored Markdown as you type, including tables, task lists, fenced code blocks and autolinks, and sanitises the resulting HTML with DOMPurify so it is safe to paste into a web page or CMS.
How to use it
- Write or paste Markdown in the left panel.
- The preview on the right updates after a short pause in typing.
- Click Copy HTML to get clean, sanitised HTML for a blog, email or CMS that does not support Markdown.
Practical examples
- README drafting: check how your headings, badges and code samples will look before pushing to GitHub.
- Release notes: write a changelog in Markdown and copy the HTML into an email campaign tool.
- Documentation tables: create a table with pipes and dashes, and confirm column alignment in the preview.
- Task lists:
- [x] doneand- [ ] todorender as checkboxes, useful for project checklists.
Tips and edge cases
- Leave a blank line before lists, tables and code blocks; many renderers require it.
- Two trailing spaces or a backslash at the end of a line create a hard line break.
- Raw HTML is allowed but scripts, event handlers and dangerous URLs are stripped by the sanitiser.
- Use fenced code blocks with a language name (
```ts) so syntax highlighters on your site can colour them. - Different platforms support different extensions; footnotes and math are not part of GitHub Flavored Markdown core.
- Indent nested list items by two or four spaces consistently; mixing tabs and spaces is the usual reason a sub-list renders as plain text.
- Escape characters that Markdown would otherwise interpret, such as a literal asterisk, with a backslash:
\*. - Relative image paths that work on GitHub will not resolve here; use absolute URLs to preview images.