Markdown generation