We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 802ef91 commit 0cff6e8Copy full SHA for 0cff6e8
src/utils.ts
@@ -9,7 +9,7 @@ export const getFilesUnderPath = (path: string, plugin: LinkConverterPlugin): TF
9
var folderObj = app.vault.getAbstractFileByPath(path);
10
if (folderObj instanceof TFolder && folderObj.children) {
11
for (let child of folderObj.children) {
12
- if (child instanceof TFile) filesUnderPath.push(child);
+ if (child instanceof TFile && child.extension === 'md') filesUnderPath.push(child);
13
if (child instanceof TFolder) recursiveFx(child.path, app);
14
}
15
0 commit comments