[uf-discuss] Formating Code
hakejam at gmail.com
Tue Nov 1 19:00:10 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).
I think that you missed my point. If whitespace is part of the
presentation (even if Python is based around it), we really don't need
the 'pre' element. If there was a way to say this code is python,
this code is java, and let whatever handles it OFF the browser do what
it needs to do and let the browser (CSS) format it the way it likes.
I will try to put up a brainstorm page tonight. It seems the more I
look at it, the better that a microformat looks :-)
More information about the microformats-discuss