Markdown parsing

See pull request #290.