#58 - Experimental PDF support

This commit is contained in:
Simon Cambier
2022-09-29 22:10:19 +02:00
parent 1314fc6269
commit 5266ee76b3
8 changed files with 97 additions and 34 deletions

View File

@@ -174,7 +174,7 @@ export function getCtrlKeyLabel(): 'ctrl' | '⌘' {
export function isFileIndexable(path: string): boolean {
return (
path.endsWith('.md') ||
path.endsWith('.md') || path.endsWith('.pdf') ||
settings.indexedFileTypes.some(t => path.endsWith(`.${t}`))
)
}