[uf-discuss] code microformat
timber at lava.net
Wed Jan 31 14:23:03 PST 2007
On Jan 31, 2007, at 6:59 AM, Scott Reynen wrote:
> On Jan 31, 2007, at 6:00 AM, Colin Barrett wrote:
>> On Jan 30, 2007, at 7:55 AM, Ciaran McNulty wrote:
>>> On 1/30/07, anders conbere <aconbere at gmail.com> wrote:
>>>> I would consider the rss and atom tools be not in accordance with
>>>> (x)html specs on this one. And I believe that muddying the code
>>>> non-semantic tags makes is much more difficult to digest.
>>> I'd argue that <br /> does have semantics for a number of
>>> languages, actually!
>> I would speculate, however, that most existing examples of code
>> snippets are using <pre>. Adding <br />s is a lot of work if you're
>> editing by hand.
> For what it's worth, PHP's syntax highlighting (which I use to share
> source code) automatically adds <br /> (or <br> in older versions)
> for line breaks:
This, and other languages that have built-in (or very common) syntax
hilighting, is a great corpus of data to look at.
I will add it to the wiki in the next day or two, but feel free to
beat me to it.
More information about the microformats-discuss