snuownd

JavaScript port of Reddit's SnuDown Markdown parser.

Usage no npm install needed!

<script type="module">
  import snuownd from 'https://cdn.skypack.dev/snuownd';
</script>

README

SnuOwnd markdown parser

SnuOwnd is an exact as possible JavaScript port of Reddit's Snudown markdown parser.

Use

SnuOwnd can either be used in a browser as a drop in library, or used with node.js by var SnuOwnd = require('snuownd');

Use is simple as:

var markdown = "...";
var html = SnuOwnd.getParser().render(markdown);