`time` element syntax

David Parsons orc at pell.portland.or.us
Thu Jun 2 10:54:35 EDT 2011

On Jun 2, 2011, at 2:08 AM, David Chambers wrote:

> Hi folks,


> I expect that the response to this post will be "we don't need such

> a thing", but humour me for a moment by pretending that in fact we do.


> HTML5 added a number of new tags to the mix, but arguably the most

> significant is the `time` element. It associates a machine-readable

> timestamp with a human-readable string (e.g. `<time

> datetime="2011-05-30T15:00-07:00">30 May 2011</time>`).


> I would love to be able to write something like `[30 May 2011]

> {2011-05-30T15:00-07:00}`.

That looks like it would be a good place for a pseudo-protocol:

[two days ago](time:2011-05-30T15:00-07:00 "May 30th, if you care")

This would have the advantage of being fairly unambiguous, instead
of superimposing a magic time string over the existing linkyformat.

-david parsons

More information about the Markdown-Discuss mailing list