From: Gavin Sinclair Date: 2004-06-11T23:47:19+09:00 Subject: Re: RedCloth/Textile question On Friday, June 11, 2004, 12:04:41 PM, why wrote: > Gavin Sinclair wrote: >> On Friday, June 11, 2004, 5:47:07 AM, why wrote: >> >>>If you have a large block of text you want protected, you can surround >>>it with tags. In addition,
 and  contents are
>>>protected from Textile formatting.
>> 
>> If you want to use some formatting (bold, italic, ...) in a code
>> block, are there any good methods?
>> 

> I haven't thought much about this.  Immediately, I'd say you would need
> to use a tag other than 
 or .  Right now I just wrap those
> sorts of code blocks in 
tags and then be > sure to give the formattedCode class
-like css properties.

> With RedCloth 2.1, you'll also be able to override RedCloth's default
> handling of elements.  Would that be okay?

I'm curious more than anything.  I'd rather see a standard for this
sort of thing than have to roll my own, but again I'm not aching for
it.

Thanks,
Gavin