Markdown and code cleanup