降价的哑剧类型是什么? [英] What is the mime type for markdown?

查看:100
本文介绍了降价的哑剧类型是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人知道降价是否存在哑剧类型吗?我想这是纯文本,但是还有更具体的文本吗?

Anyone knows if a mime type exists for markdown? I guess it is plain-text but is there a more specific one?

推荐答案

没有官方标准类型,但是text/markdown似乎是最常见的事实类型.大多数浏览器和其他相当复杂的客户端都可能会看到text/部分,并且仍然默认为text/plain,因此差别不大.

There is no official standard type, but text/markdown seems to be the most common de facto type. Most browsers and other reasonably sophisticated clients will likely see the text/ part and default to text/plain anyway, so there's not much difference.

不过需要注意的是:text/层次结构下的所有类型在相关RFC标准中的字符类型均默认为 ISO-8859-1 .此后,世界上大多数地区都转向了 UTF-8 .因此,除非您是肯定的人,否则您将不会使用任何有趣的角色(或生活在古老的Windows世界中),则可能需要按以下方式指定它:

One caveat, though: all types under the text/ hiearchy default to ISO-8859-1 for their character type in the relevant RFC standards. Most of the world has since moved on to UTF-8. So unless you're positive you won't be using any funny characters (or live in an old Windows world) you might want to specify it as follows:

text/markdown; charset=UTF-8

这篇关于降价的哑剧类型是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆