Reformat the rst text.