a parser for a mini markdown-like marking language