[uf-discuss] Formating Code

Ryan King ryan at technorati.com
Tue Nov 1 14:40:09 PST 2005

On Nov 1, 2005, at 11:01 AM, Robert Bachmann wrote:

> Edward O'Connor wrote:
>>> Programming languages by definition have extremely well-defined
>>> semantics, so it isn't necessary to mark up variables and so on in
>>> blocks of code.
>> I often mark up variables and so on, for syntax highlighting  
>> purposes.
>> For instance:
>> [Example snipped]
> There are some tools which create modern HTML (i.e: HTML with <span
> class="comment" instead of <font color=green>) listings of source  
> code.
> Two programs I'm aware of are GNU Source-highlight[1] and Highlight 
> [2].
> Looking at the class names they use for their generated listings and
> documenting it on the background research pages of might be useful.

Not to mention the language grammars themselves.


More information about the microformats-discuss mailing list