converting to static markdown for posts