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}`. `/^(\d{4})-(\d\d)-(\d\d)T(\d\d):(\d\d)(?::(\d\d)(?:[.](\d+))?)?([-+]\d\d:\d\d|Z)$/` could be used to ensure that only valid `datetime` attribute values are matched. This would avoid false positives and would keep `[foo]{bar}` available for other functions, potentially. Are there any reasons not to use `[human]{computer}`? Can anyone suggest a better syntax? David
_______________________________________________ Markdown-Discuss mailing list Markdown-Discuss@six.pairlist.net http://six.pairlist.net/mailman/listinfo/markdown-discuss