feat: add markdown file support (#202)

* feat: add support for .md

* fix: disable download all on private collection
This commit is contained in:
Tuan Anh Nguyen Dang (Tadashi_Cin)
2024-09-03 23:15:26 +07:00
committed by GitHub
parent 4f0785773d
commit 607867d7e6
3 changed files with 8 additions and 2 deletions

View File

@@ -222,7 +222,7 @@ KH_INDICES = [
"config": {
"supported_file_types": (
".png, .jpeg, .jpg, .tiff, .tif, .pdf, .xls, .xlsx, .doc, .docx, "
".pptx, .csv, .html, .mhtml, .txt, .zip"
".pptx, .csv, .html, .mhtml, .txt, .md, .zip"
),
"private": False,
},
@@ -233,7 +233,7 @@ KH_INDICES = [
"config": {
"supported_file_types": (
".png, .jpeg, .jpg, .tiff, .tif, .pdf, .xls, .xlsx, .doc, .docx, "
".pptx, .csv, .html, .mhtml, .txt, .zip"
".pptx, .csv, .html, .mhtml, .txt, .md, .zip"
),
"private": False,
},