From 1238e03157adad6172f9c61bf6d83b9974a555ed Mon Sep 17 00:00:00 2001 From: Daniel <845765@qq.com> Date: Thu, 17 Aug 2023 18:04:35 +0800 Subject: [PATCH] :art: Support searching PDF asset content https://github.com/siyuan-note/siyuan/pull/8985 --- app/src/search/assets.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/search/assets.ts b/app/src/search/assets.ts index ba0fa56e9..e07703463 100644 --- a/app/src/search/assets.ts +++ b/app/src/search/assets.ts @@ -358,7 +358,7 @@ export const assetMethodMenu = (target: HTMLElement, cb: () => void) => { }; let filterTypes: string[] = [ - ".txt", ".md", ".markdown", ".docx", ".xlsx", ".pptx", ".json", ".log", ".sql", ".html", ".xml", ".java", ".h", ".c", + ".txt", ".md", ".markdown", ".docx", ".xlsx", ".pptx", ".pdf", ".json", ".log", ".sql", ".html", ".xml", ".java", ".h", ".c", ".cpp", ".go", ".rs", ".swift", ".kt", ".py", ".php", ".js", ".css", ".ts", ".sh", ".bat", ".cmd", ".ini", ".yaml", ".rst", ".adoc", ".textile", ".opml", ".org", ".wiki", ]