Implement method to extract html from markdown