omnivore-app / obsidian-omnivore

Obsidian plugin to fetch articles and highlights from Omnivore
MIT License
726 stars 39 forks source link

Does {{{pdfAttachment}}} work ? #165

Closed firmart closed 7 months ago

firmart commented 7 months ago

I saw that #41 have been merged months ago, but didn't find {{{pdfAttachment}}} anywhere in the documentation. Besides, I tried to include

{{#pdfAttachment}}
# Attachment

![[{{{pdfAttachment}}}]]
{{/pdfAttachment}}

in my template, but doesn't seem to have any effect. It is a working feature ?

Thanks, keep up the great work !

(version : obsidian-omnivore 1.8.1)

sywhb commented 7 months ago

Hey @firmart , sorry the correct variable name is fileAttachment and I think I had a typo in the commit message.

You can refer to this section in the document: https://docs.omnivore.app/integrations/obsidian.html#variables-available-in-the-template

Screenshot 2023-12-08 at 2 43 32 PM
firmart commented 7 months ago

Ah, thank you ! It works.