Markdown MIME type?

Thomas Nichols nichols7 at googlemail.com
Mon Feb 4 07:47:02 EST 2008




Aristotle Pagaltzis wrote on 2008/02/03 19:46:

> * Petite Abeille <petite.abeille at gmail.com> [2008-02-03 17:55]:

>

>> What MIME type do people use for Markdown?

>>

>

> Regrettably, there still isn’t one registered for Markdown. If my

> reading of [RFC 4288] is correct, John shouldn’t have any trouble

> registering eg. `text/vnd.daringfireball.markdown` using the

> application form at <http://www.iana.org/cgi-bin/mediatypes.pl>.

> (Most of the “mandatory” fields in that form apply only to MIME

> types registered in the standards tree, not the vendor tree.)

>

> Hint hint, nudge nudge.

>

> [RFCÂ 4288]: http://tools.ietf.org/html/rfc4288

>

>

>> text/markdown?

>> text/plain?

>>

>> Suggestions?

>>

>

> I end up using `text/plain` most of the time because browsers

> throw up a download box whenever they encounter an unknown MIME

> type, even though [RFCÂ 2046] explicitly says they should treat

> any unknown `text/*` MIME type as `text/plain`.

>

> [RFCÂ 2046]: http://tools.ietf.org/html/rfc2046

>

> Regards,

>


When this came up on the list before [1][] I think there was a consensus
that

text/x-markdown

is usable -- possibly with a URI to identify the Markdown syntax used.

Did I understand that correctly?

-- Thomas.

[1]
http://six.pairlist.net/pipermail/markdown-discuss/2007-June/000640.html
and ensuing discussion



More information about the Markdown-Discuss mailing list