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

mime: please add 'text/x-markdown' for markdown file extensions (md, markdown) to the _defaultExtensionMap #12857

Closed
DartBot opened this issue Aug 28, 2013 · 4 comments

Comments

Projects
None yet
4 participants
@DartBot
Copy link

commented Aug 28, 2013

This issue was originally filed by ross.dart....@gmail.com


0.6.21_r26639

As markdown is quite common these days, and this change does not conflict with anything currently in the _defaultExtensionMap, I think it is reasonable to add it?

'md':'text/x-markdown',
'markdown':'text/x-markdown',

The mime type 'text/x-markdown' seems to be what is most commonly used, for example:

node-mime: https://github.com/broofa/node-mime/pull/48/files
CodeMirror: http://codemirror.net/mode/markdown/

thanks!

@DartBot

This comment has been minimized.

Copy link
Author

commented Aug 28, 2013

This comment was originally written by ross.dart...@gmail.com


hmm actually while you're in there (if you go in) can you also please add 'yaml'? I'm not sure what the appropriate mime type for it is, there seems to be less agreement for it...

@iposva-google

This comment has been minimized.

Copy link
Contributor

commented Aug 28, 2013

Added Area-Pkg, Library-MIME, Triaged labels.

@anders-sandholm

This comment has been minimized.

Copy link
Contributor

commented Feb 6, 2014

Removed Library-MIME label.
Added Pkg-MIME label.

@DartBot

This comment has been minimized.

Copy link
Author

commented Jun 5, 2015

This issue has been moved to dart-lang/mime#1.

@DartBot DartBot closed this Jun 5, 2015

@kevmoo kevmoo removed triaged labels Mar 1, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.