In an obsidian vault, an image may be written as ![[image.png]].
Presently, Find-MarkdownImages assumes that the file is relative to the working directory. However, Obsidian has a mechanism to specify where the attachments are located in your vault.
- Vault\
- Attachments\
- images.png
- Notes\
- Note 1.md
To further complicate things, Obsidian might resolve the file name without the folder, for example: ![[image.png]] might refer to Attachments/folder/subfolder/image.png if image.png is unique enough.
Find-MarkdownImages might need to know where the attachments folder is, and possibly do a recursive scan of that directory to locate the image.
In an obsidian vault, an image may be written as
![[image.png]].Presently,
Find-MarkdownImagesassumes that the file is relative to the working directory. However, Obsidian has a mechanism to specify where the attachments are located in your vault.To further complicate things, Obsidian might resolve the file name without the folder, for example:
![[image.png]]might refer toAttachments/folder/subfolder/image.pngifimage.pngis unique enough.Find-MarkdownImagesmight need to know where the attachments folder is, and possibly do a recursive scan of that directory to locate the image.