I'm trying to get my head round the whole scope, language grammar, thing for one trivial reason - I'd like to mark <?php and ?> tags in a different color.
So my question is this - is there a good tutorial that would help me understand how to build and edit a theme to my own liking?
has anyone worked out how to specifically target <?php tags (other than the whole embedded section...)
TIA
Tony
On Feb 11, 2007, at 8:43 AM, Tony Crockford wrote:
I'm trying to get my head round the whole scope, language grammar, thing for one trivial reason - I'd like to mark <?php and ?> tags in a different color.
So my question is this - is there a good tutorial that would help me understand how to build and edit a theme to my own liking?
has anyone worked out how to specifically target <?php tags (other than the whole embedded section...)
Add a rule in your theme with scope selector: punctuation.section.embedded.php and your favorite color choice. I think this should do it, not sure if it colors too much.
Found via pressing ctrl+shift+P around the tags areas
TIA
Tony
Haris