weichenw/obsidian-hypothesis-plugin

Recognize files based on Front Matter instead of file name

silic0n64 opened this issue · 3 comments

As this plugin is inspired by Obsidian Kindle Plugin, I think it is good to post the idea here.

As of the new update of Obsidian Kindle Plugin, the plugin recognizes the files based on front matter data,instead of filenames, this gives extra advantages, for example: we can move files anywhere in the vault and also rename, still the plugin recognizes the file.

But in the hypothes.is plugin, we can't move or rename the files. If we do, the plugin thinks the item is deleted (Command: resync deleted files confirms that) and shows it on the deleted list. So, I think recognizing files based on metadata should be more convenient for most users.

I will look into this

phgn0 commented

@weichenw have you started on this yet? If not, I'm very interested in helping getting this to work!

phgn0 commented

Update: I took a stab at the frontmatter file matching, please see #39. It's working nicely for me locally!