From: Jim Menard Date: 2004-06-11T21:46:30+09:00 Subject: Re: RedCloth/Textile question why the lucky stiff writes: > 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?

Hmm...I did not see Gavin's message or any others except my original post and
this one.

I didn't know about  or ==notextile==. I'll give them a try. Time
to read the source code.

Jim
-- 
Jim Menard, jimm@io.com, http://www.io.com/~jimm/
"Build a man a fire and he's warm for the rest of the evening.
Set a man on fire and he's warm for the rest of his life."
    -- Steve Taylor, in comp.lang.smalltalk