Skip to content
This repository was archived by the owner on Nov 22, 2018. It is now read-only.

Commit 3b262b1

Browse files
korrozTratcher
authored andcommitted
Content type mapping for markdown
Since it is now officially registered. See: https://tools.ietf.org/html/rfc7763
1 parent d19b874 commit 3b262b1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Microsoft.AspNetCore.StaticFiles/FileExtensionContentTypeProvider.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,8 @@ public FileExtensionContentTypeProvider()
161161
{ ".man", "application/x-troff-man" },
162162
{ ".manifest", "application/x-ms-manifest" },
163163
{ ".map", "text/plain" },
164+
{ ".markdown", "text/markdown" },
165+
{ ".md", "text/markdown" },
164166
{ ".mdb", "application/x-msaccess" },
165167
{ ".mdp", "application/octet-stream" },
166168
{ ".me", "application/x-troff-me" },

0 commit comments

Comments
 (0)