https://github.com/SimonWaldherr/micromarkdown.js translated to golang