Sublime Forum

Theming Comments

#1

I am trying to create a theme that emulates the smultron/fraise default as closely as possible. I can’t seem to get it to recognize HTML comments, though. Specifically, anything between receives its normal formatting instead of comment formatting.

Also, in the following example:

<div id="node-<?php print $node->nid; ?>" class="node<?php if ($sticky) { print ' sticky'; } ?><?php if (!$status) { print ' node-unpublished'; } ?> clear-block">

I would like everything between quotes to be highlighted in a solid color rather than receiving the normal syntax highlighting. I don’t know if that makes sense, but it’s the way Smultron does it so it’s what I’m used to. It seems to help me visually break things up a bit better.

I’ve been using textmate to generate my themes, but I can’t seem to find the correct scope selectors to do what I’m trying to do.

0 Likes