From aafa94f191e409a16f3b57b90368e829334cb07c Mon Sep 17 00:00:00 2001 From: Julien Chaumond Date: Wed, 25 Jan 2023 20:37:22 +0100 Subject: [PATCH 1/2] Add mime-type for Jupyter notebooks --- src/custom-types.json | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/custom-types.json b/src/custom-types.json index ce30b6e9..0c76c55a 100644 --- a/src/custom-types.json +++ b/src/custom-types.json @@ -295,6 +295,13 @@ "http://php.net/manual/en/faq.installation.php" ] }, + "application/x-ipynb+json": { + "compressible": true, + "extensions": ["ipynb"], + "sources": [ + "https://docs.jupyter.org/en/latest/reference/mimetype.html" + ] + }, "application/x-iwork-keynote-sffkey": { "extensions": ["key"], "notes": "Deprecated alias for iWorks Keynote file", From 582e5e28395fe02e3cb19f9a0fe5787ef79a35a8 Mon Sep 17 00:00:00 2001 From: Julien Chaumond Date: Wed, 25 Jan 2023 20:47:05 +0100 Subject: [PATCH 2/2] Better source --- src/custom-types.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/custom-types.json b/src/custom-types.json index 0c76c55a..d3361081 100644 --- a/src/custom-types.json +++ b/src/custom-types.json @@ -299,7 +299,7 @@ "compressible": true, "extensions": ["ipynb"], "sources": [ - "https://docs.jupyter.org/en/latest/reference/mimetype.html" + "https://github.com/jupyter/notebook/pull/1861#issuecomment-257352098" ] }, "application/x-iwork-keynote-sffkey": {