Fix code fragment formatting