How to use it
- Type or paste Markdown, or open a .md file.
- Keep the GitHub additions on for tables and task lists; allow HTML tags only if you trust the text.
- Check the preview; it shows pictures as their names and does not follow links.
- Copy the HTML or download it as a file.
Rules and limits
How Markdown becomes HTML
- CommonMark: headings, paragraphs, line breaks, emphasis, code spans and blocks, block quotes, lists (tight and loose), links and pictures (also by reference), autolinks, character references and thematic breaks; with the GitHub additions on, also tables with alignment, task lists, ~~strikethrough~~ and bare www. and https:// links.
- Checked against cmark 0.30.2, the reference implementation: 108 of 108 self-written test cases and 987 of 1,000 random documents give the very same HTML; the GitHub additions read the same as pandoc’s GitHub reader. (The CommonMark spec’s own examples were not used: their licence needs approval.)
- HTML written in the Markdown is escaped by default. With the option on it is kept and then cleaned: only common text tags stay, without scripts, styles, frames, event handlers or javascript: links.
- The preview is a sandboxed frame that runs no scripts; it shows pictures by their names and does not follow links, so nothing is fetched.
Limits
- The time for long documents was not measured on the development laptop; the preview shows at most the first 200 KB of HTML.
- The page converts texts of up to 5 MB; that much was not tested.
Questions and answers
Which Markdown does it follow?
CommonMark, the specification that GitHub, GitLab, Discourse and many editors build on, plus GitHub’s additions. Older Markdown tools can differ in corner cases such as lists right after a paragraph.
Why are my HTML tags shown as text?
To keep pasted text from carrying scripts or tracking pictures into your page. Tick the option to keep HTML tags: they are then cleaned, and only harmless tags and attributes stay.
Why does the preview not show my pictures?
Loading them would contact other websites from this page. The preview shows each picture’s name instead; the HTML keeps the real addresses.
Is my text sent anywhere?
No. It is converted in your browser, and the page cannot send it anywhere. Only the options are kept, for this tab.