We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 228ad6e commit 30fa7ebCopy full SHA for 30fa7eb
1 file changed
plugin/src/utils/fs.ts
@@ -31,6 +31,9 @@ export async function findMarkdownFilesWithImageFolders(root: string): Promise<U
31
// folder not exists -> ignore
32
}
33
tasks.push({ mdPath, mdContent, images });
34
+ } else if (e.isDirectory()) {
35
+ const subTasks = await findMarkdownFilesWithImageFolders(path.join(root, e.name));
36
+ tasks.push(...subTasks);
37
38
39
return tasks;
0 commit comments