Markdown parser and transformer implemented in Java