From: Andreas Semt Date: 2005-01-19T01:22:24+09:00 Subject: Re: Why "pre" AND "code" tags in Textile Markup? Patrick Spence wrote: > I'd like to clarify a few things. The
 tag's purpose is to
> display pre-formated text exactly as input. Normal HTML will ignore
> leading, trailing, and consecutive whitespace, but inside 
 tags,
> the tabs and whatnot are all rendered on-screen. Also, the 
 tag
> typically renders the text in a monospace font.
> 
> The  tag also renders text in a monospace font, but (to the best
> of my knowledge) doesn't do to whitespace what 
 does. It also
> adds additional semantic meaning to the text: "This text is code."
> 

Hello Patrick!

Thanks for your clarification! So 
 saves the whitespace (tested in 
the Soks wiki),  does not (also tested ;-)). Both render text in a 
monospace font,  adds semantic meaning to the text surrounded by 
 tags.

Greetings,
Andreas

> 
> On Fri, 14 Jan 2005 01:15:47 +0900, Andreas Semt  wrote:
> 
>>Both tags are used in conjunction. And *now* i know why!
>>The "pre" tag indents the whole content of the "code" tag. Without "pre"
>>it's all at the beginning of the line, not indented. "pre" creates an
>>indented block with formatted text, "code" just prints formatted text,
>>nothing more.
> 
> 
> 
>