readwiseio / obsidian-readwise

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

[DRAFT/WIP] feature: add "populate frontmatter with book ID" command #65

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 + #63 - don't worry, I will rebase this branch once the other PRs are merged so the history is clean :sparkles:

context

This PR adds a discrete command to add the book ID to the active document's frontmatter if the frontmatterBookIdKey has been configured by the user (vs the bulk ability added in #62).

This command is not available if the user has already set the value of that frontmatter key.