readwiseio / obsidian-readwise

Official Readwise plugin for Obsidian
GNU General Public License v3.0
239 stars 23 forks source link

[DRAFT/WIP] feature: prefer frontmatter book IDs if present #64

Open tyler-dot-earth opened 3 weeks ago

tyler-dot-earth commented 3 weeks ago

:construction: WIP :construction:

this is a continuation of the work started in #62 - don't worry, I will rebase this branch once that PR is merged so the history is clean :sparkles:

context

Building on top of the work in #62, this PR is focused on preferring book IDs in frontmatter over those in data.json's settings.booksIDsMap if the frontmatter book ID is present.

I want to emphasize: utilization of the frontmatter book ID remains completely optional with these changes - all users will be able to continue using the plugin as they have been (without frontmatter).