From: Gavin Kistner Date: 2005-10-11T21:38:31+09:00 Subject: Re: [ANN] Ruby Code & Style On Oct 10, 2005, at 10:23 AM, James Britt wrote: > *Perhaps*, if anyone wants to take a shot, the markup could be pre- > processed by a Ruby app that applies syntax coloring only to code > within
 or  sections.
>
> It may be possible to also toss in a marker class attribute value:
> 
, or 
 so that  
> different code gets different syntax treatment.

Heck, with a bit of work, someone could do a variation on http:// 
phrogz.net/JS/Classes/syntaxcolor_test.html to get automatic client- 
side ruby syntax highlighting :)

(The downside is that it's client-side and requires JS. The upside is  
that it no pre-processing step is needed - a human can edit the pure  
ruby code inside the block at any time, in any place, and have it  
syntax colored. View source of the page to see the cleanliness.)