wrap terminal prompt marks in a pre tag