Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

time element syntax #1

Open
davidchambers opened this issue Jun 7, 2011 · 0 comments
Open

time element syntax #1

davidchambers opened this issue Jun 7, 2011 · 0 comments

Comments

@davidchambers
Copy link
Member

Recent discussion on the Markdown mailing list has resulted in several suggestions as to syntax for the time element introduced in HTML5.

Wrapped text, wrapped datetime

The conference commences on [30 May 2011]{2011-05-30T15:00-07:00}.

Wrapped text, implicit reference

The conference commences on [30 May 2011].

[30 May 2011]: datetime: 2011-05-30T15:00-07:00

(The pubdate attribute could be supported by appending ", pubdate" to the definition.)

Bracketless text, implicit reference

The conference commences on 30 May 2011.

*[30 May 2011]: 2011-05-30 15:00 -07:00

This is an extension of PHP Markdown Extra's abbreviation syntax. It also highlights the possibility of formatting the datetime attribute in a more human-friendly manner.

(The pubdate attribute could be supported by appending ", pubdate" to the definition.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant