From 9d87d46cda2f2df5013dfedd65997d0691ee46d0 Mon Sep 17 00:00:00 2001 From: James Smith Date: Tue, 8 Oct 2024 23:16:12 +0100 Subject: [PATCH] add markdown indexing --- app/lib/supported_mime_types.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/lib/supported_mime_types.rb b/app/lib/supported_mime_types.rb index 00062c2e0..ad9b40d39 100644 --- a/app/lib/supported_mime_types.rb +++ b/app/lib/supported_mime_types.rb @@ -65,6 +65,7 @@ def is_video_mime_type?(type) def is_document_mime_type?(type) [ "application/pdf", + "text/markdown", "text/plain" ].include?(type.to_s) end