Coloriser
<!doctype html> <html> <head> <script> function test() { console.log('ok'); } const material = new THREE.MeshPhongMaterial({color:0xbbbbbb, specular:0x222222, shininess:100}); </script> <style> pre { width:49%; float:left; border:1px solid silver; } .code, .machin:hover { background: #fefefe; border: solid 1px #aaaaff; padding: 0.5em; -webkit-border-radius: 10px; -moz-border-radius: 10px; border-radius: 10px; box-shadow: 0px 0px 10px grey; } </style> </head> <!-- un commentaire --> <body> <h1 style="color:red">Javascript fast HTML syntax highlighter</h1> <a href="https://www.masta.fr" target="_blank">Hello world!</a> <?php $a = 25; echo file_get_contents('/var/www/test'); ?> </body> </html>