Change pre to code