Added support for markdown, fixes #8