Skip to content

Commit ede8cb0

Browse files
committed
markdown
1 parent a5e120a commit ede8cb0

File tree

4 files changed

+4
-7
lines changed

4 files changed

+4
-7
lines changed

db.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7821,7 +7821,7 @@
78217821
"text/markdown": {
78227822
"source": "iana",
78237823
"compressible": true,
7824-
"extensions": ["markdown","md"]
7824+
"extensions": ["md","markdown"]
78257825
},
78267826
"text/mathml": {
78277827
"source": "nginx",

scripts/fetch-iana.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ co(function * () {
4646
get('message', { extensions: true }),
4747
get('model', { extensions: true }),
4848
get('multipart'),
49-
get('text', { extensions: /\/(?:spdx|turtle|vnd\.familysearch\.gedcom|vtt)$/ }),
49+
get('text', { extensions: /\/(?:markdown|spdx|turtle|vnd\.familysearch\.gedcom|vtt)$/ }),
5050
get('video', { extensions: /\/iso\.segment$/ })
5151
]
5252

src/custom-types.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -771,11 +771,7 @@
771771
"extensions": ["less"]
772772
},
773773
"text/markdown": {
774-
"compressible": true,
775-
"extensions": ["markdown","md"],
776-
"sources": [
777-
"https://tools.ietf.org/html/rfc7763"
778-
]
774+
"compressible": true
779775
},
780776
"text/mdx": {
781777
"compressible": true,

src/iana-types.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9755,6 +9755,7 @@
97559755
]
97569756
},
97579757
"text/markdown": {
9758+
"extensions": ["md","markdown"],
97589759
"sources": [
97599760
"https://tools.ietf.org/rfc/rfc7763.txt",
97609761
"https://www.iana.org/assignments/media-types/text/markdown"

0 commit comments

Comments
 (0)