[uf-discuss] Formating Code

Tantek Ç elik tantek at cs.stanford.edu
Mon Oct 31 23:43:42 PST 2005


Hi Jacob,

Welcome to the list!


On 10/31/05 1:51 PM, "Jacob Ham" <hakejam at gmail.com> wrote:

> On 10/31/05, Dr. Ernie Prabhakar <drernie at opendarwin.org> wrote:
> 
>> That seems like an empirically verifiable question. However, most
>> places that publish code appear to use plain text, not HTML, so I'm
>> not sure where we'd find a good sample dataset...
>> 
>> -- Ernie P.
>> 
>> 
> How about these?

I encourage you to read the microformats process page, as I think it will
help you in your efforts to determine what a microformat for code (if
necessary) should be:

 http://microformats.org/wiki/process


> Dicrionary of Algorithms and Data Structures: http://www.nist.gov/dads/
> MSDN Code Library: http://msdn.microsoft.com/
> Dive Into Python: http://www.diveintopython.org/

It sounds like you have gathered sufficient examples to start a
code-examples page:

 http://microformats.org/wiki/code-examples


> As for David's question, it would be only for metadata, not actually
> formating it.

That makes sense.  HTML itself has several elements to aid in marking up
code itself, but I'm not really aware of anyone truly using them as such
(<var>,<samp>, etc.) other than for illustrative purposes.

Thanks,

Tantek



More information about the microformats-discuss mailing list