Do you guys know a syntax highlighter capable of highlighting mixed PHP+HTML+CSS+JS code?
like:
<?php
echo 'foo';
?>
<div> foo </div>
<style type="text/css">
.foo {color: #3d3;}
</style>
I only know GeShi so far. It's pretty cool, but it only supports one language at a time.
It's not PHP, but Pygments is awesome. And it is faster than GeShi, even used in PHP with the system()
function.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With