Parsing markdown with Haskell