[uf-discuss] code microformat
anders conbere
aconbere at gmail.com
Wed Jan 31 14:47:04 PST 2007
On 1/31/07, Colin Barrett <timber at lava.net> wrote:
> 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
> >>>> the
> >>>> (x)html specs on this one. And I believe that muddying the code
> >>>> with
> >>>> 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.
> -Colin
I've been pulled to other nether-regions of the net recently, so I
haven't had much time to work more on this. I'm still watching, but
won't have time to add things to the wiki for a couple of days.
Thanks!
~ Anders
>
> _______________________________________________
> microformats-discuss mailing list
> microformats-discuss at microformats.org
> http://microformats.org/mailman/listinfo/microformats-discuss
>
More information about the microformats-discuss
mailing list