readwiseio / obsidian-readwise

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

Page metadata variables not available when formatting individual highlights #22

Open mikaeljagelid opened 2 years ago

mikaeljagelid commented 2 years ago

When formatting individual highlights, the page metadata variables can't be used, they just render as blanks. I've tried to create a link directly to the page in the pdf-document the highlight origins from, but {{title}} just remains empty when used in the Highlight section of Custom Formatting.

sean808080 commented 1 year ago

The page metadata is inline but with only a single colon so they are not legit metadata fields that can be queried in data view for example. Author: [[Claudia Kalb]]

If the format was changed to Author:: [[Claudia Kalb]] then the metadata would be processed correctly and available.

sean808080 commented 1 year ago

Actually I was able to resolve my issue by enabling custom formatting on the obsidian website. Works nicely for me now.

FeralFlora commented 8 months ago

Author:: [[Claudia Kalb]]

Just FYI, this metadata format is not native, but Dataview specific.