Convert a post with code to markdown