Convert HTML to markdown formatting