replace html with markdown for article