Re: longcode and longquote instead of blockcode and blockquote

On 7/7/05, David Dorward <david@dorward.me.uk> wrote:
> 
> On Thu, Jul 07, 2005 at 06:22:12PM -0400, Orion Adrian wrote:
> 
> > > I use block quotes because they contain paragraphs, or blocks of code
> > > - i.e. becuase I'm quoting blocks - not due to their length.
> 
> > If that's the case then wouldn't <codeblock>
> 
> If I'm quoting code? No. Although it might be useful to have a block
> element for holding code. Currently I use a <pre> with a <code> inside
> it. Although I would probably still use an inline code element inside
> that as sometimes I have several nested <code> (e.g. with classes
> "xml", "tag", "attribute", "value", etc) since that provides an
> elegent way to attach syntax highlighting in a stylesheet).

Is there any reason <code> doesn't assume preformatting? I've never
seen code that doesn't require preformatting to be readable.

-- 

Orion Adrian

Received on Thursday, 7 July 2005 22:38:37 UTC