Markdown cleanup