Markdown parser written in kotlin