Markdown Live Preview
Lightweight Markdown rendering: headings/bold-italic/code/lists/quotes/links/images/hr/tables.
Output is escaped HTML to prevent injection; supports headings, bold/italic, inline code, code blocks, lists, quotes, links, images, horizontal rules and tables.
How to use
A hand-written lightweight renderer: headings, bold/italic, inline code, fenced code blocks, ordered/unordered lists, quotes, links, images, hr and tables. All text is escaped before output to stop user input from executing as HTML.
FAQ
Why do links do nothing or turn to #?
To prevent XSS, links get rel="noopener"; dangerous links starting with javascript: are replaced with #.