`console` and the like methods also tell pygments that this is console code (vs python, ruby, whatever) and it can highlight accordingly.