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