modify format of rst