Change image tags to Markdown syntax