exchange html with md