From 0a1e7c01b13f8592d4b34f48b68bbe47be373a15 Mon Sep 17 00:00:00 2001 From: Evandro Flores Date: Wed, 15 Jul 2020 21:07:56 +0100 Subject: [PATCH] Adding Markdown Adding Markdown (.md, .markdown as text/markdown) according to IANA register https://www.iana.org/assignments/media-types/text/markdown --- Lib/mimetypes.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Lib/mimetypes.py b/Lib/mimetypes.py index 954bb0a7453477f..e84d2d506d12cc3 100644 --- a/Lib/mimetypes.py +++ b/Lib/mimetypes.py @@ -518,6 +518,8 @@ def _default_mime_types(): '.csv' : 'text/csv', '.html' : 'text/html', '.htm' : 'text/html', + '.md' : 'text/markdown', + '.markdown': 'text/markdown', '.txt' : 'text/plain', '.bat' : 'text/plain', '.c' : 'text/plain',