Fix image URL and code block nesting in Markdown.