Markdown and content cleanup