rewriting markdown to rst