modify format of markdown