change post format from html to md