rewrite post using markdown