Skip to content

time element syntax #1

Description

@davidchambers

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.)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions