Skip to content

Commit 97c0a83

Browse files
authored
feat: Add markdown type in Mimes (#10052)
1 parent 5f3e55a commit 97c0a83

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

app/Config/Mimes.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -481,6 +481,10 @@ class Mimes
481481
'model/stl',
482482
'application/octet-stream',
483483
],
484+
'md' => [
485+
'text/markdown',
486+
'text/plain',
487+
],
484488
];
485489

486490
/**

user_guide_src/source/changelogs/v4.8.0.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,8 @@ Message Changes
215215
Changes
216216
*******
217217

218+
- **Config:** Added the ``md`` key for ``Config\Mimes::$mimes`` for Markdown files.
219+
218220
************
219221
Deprecations
220222
************

user_guide_src/source/installation/upgrade_480.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,8 @@ and it is recommended that you merge the updated versions with your application:
6666
Config
6767
------
6868

69-
- @TODO
69+
- app/Config/Mimes.php
70+
- ``Config\Mimes::$mimes`` added a new key ``md`` for Markdown files.
7071

7172
All Changes
7273
===========

0 commit comments

Comments
 (0)