Vinzent03 / find-unlinked-files

Find files, which are nowhere linked, so they are maybe lost in your vault.
MIT License
293 stars 14 forks source link

False positive on orphaned files #45

Closed Smitty010 closed 1 year ago

Smitty010 commented 1 year ago

Here's an excerpt from a file:

9. Go to the **Hide My Email** menu and open your recently created email address.

        ![[how-to-create-a-fake-email-address-and-why-you-should-generate-fake-alias-email-addresses-15.jpg]]

the plugin reports the above as an orphaned file. I can also look for the file and it shows up in both the .md file and the "unlinked files.output.md" file. If I change it to (removing the leading spaces):

9. Go to the **Hide My Email** menu and open your recently created email address.

![[how-to-create-a-fake-email-address-and-why-you-should-generate-fake-alias-email-addresses-15.jpg]]

Then the problem goes away (i.e., the file is no longer reported as orphaned.

Vinzent03 commented 1 year ago

I'm working with the cache provided by Obsidian, which in this case corresponds to the backlinks pane. Obsidian doesn't track your link as backlink, because you created a code block with your indent, which you should see in reading view. Obsidian doesn't track links in code blocks. So there is nothing I can do from my side. Please don't indent the line if you wish the link to work.

Smitty010 commented 1 year ago

Just fyi - I understand what you are saying. These are md files generated by another program (markdownload chrome extension). I will go in and remove the code blocks, but I don't know why markdownload created them to begin with. I didn't. I don't expect you to reopen this.