Example:
$str = <<<JAVASCRIPT
var myvar = 0; // the "var" is highlighted per JavaScript syntax rules
JAVASCRIPT;
What do I need to add to make this work for CSS code too? Example:
$css = <<<CSS
/* This is all one solid boring color :( */
.pos {
color:green;
}
.neg {
color: red;
}
CSS;