Skip to content

Unable to resolve obsidian attachments from attachments directory #22

@bryanbcook

Description

@bryanbcook

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingenhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions