Home Download Buy Blog Forum Support

Theming Comments

Theming Comments

Postby sam1am on Wed Feb 16, 2011 4:44 pm

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 <!-- and --> receives its normal formatting instead of comment formatting.

Also, in the following example:

Code: Select all
<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.
sam1am
 
Posts: 6
Joined: Thu Feb 10, 2011 5:08 pm

Return to Technical Support

Who is online

Users browsing this forum: No registered users and 26 guests