change posts from html to md