Tiny but reliable Markdown to HTML conversion in JavaScript
Supported Markdown features:
Inline styles such as bold, italic, both, strikethrough, monospace
, subscript, and superscript.
Block quotes, includingnested block quotes.
Fenced code blocks
Indented code blocks
Tables | Tables | Tables |
---|---|---|
Cell 1 | Cell 2 | Cell 3 |
Cell 4 | Cell 5 | Cell 6 |
Cell 7 | Cell 8 | Cell 9 |
Images:
These are the supported features:
Unsupported Markdown features at this time:
To use:
element.innerHTML = markdown(text);