[uf-discuss] Formating Code

Kevin Marks kmarks at technorati.com
Tue Nov 1 15:17:36 PST 2005


On Nov 1, 2005, at 2:43 PM, Ryan King wrote:

> On Nov 1, 2005, at 11:27 AM, Jacob Ham wrote:
>
>> Is there really a need to use both 'pre' and 'code' elements?
>
> <code> == "this is code"
> <pre> == "the whitespace is significant"
>
> Different semantics, both often apply to source code (esp. Python).

Yes, with Python you need to read inbetween the lines.

Twisted.py has a rather nice stackcrawl dump mode when you get an 
exception in the webserver, whcih frequently looks better laid out than 
the sites I build with it.



More information about the microformats-discuss mailing list