Is there any way displaying codes

Is there any way of displaying code any php/css/html/javascript in view file with yii2.

Kindly suggestion are needed for anything, code, library, extensions etc

Thank you waiting for the kind response.

Hightlight.js is my favorite: https://highlightjs.org/