µmarkdown.php
translated from https://github.com/SimonWaldherr/micromarkdown.js