convert markdown to HTML in under 5kb
take a look at the to PHP translated version: https://github.com/SimonWaldherr/micromarkdown.php
##about
License: MIT
Version: 0.3.0
Date: 08.2014
##howto
###browser
<script type="text/javascript" src="http://simonwaldherr.github.io/micromarkdown.js/dist/micromarkdown.min.js"></script>
var input = document.getElementById('input').value,
outputEle = document.getElementById('outEle');
outputEle.innerHTML = micromarkdown.parse(input);
###node
take a look at the nodemmd.js node example
node nodemmd.js
##demo
Test this code on the associated github page simonwaldherr.github.io/micromarkdown.js/.
There is also a Testpage and a diff between the php and the js version.
##contact
Feel free to contact me via eMail or on Twitter. This software will be continually developed. Suggestions and tips are always welcome.