benjypng/logseq-localassets-plugin

Better Optimization for PDFs

candideu opened this issue · 1 comments

Thank you for creating this plugin! It saves a lot of time, and I believe should be a part of Logseq out of the box.

Just wanted to note... Similar to #12

Inserting PDF files renders them as links which open an external program:

image

- ![myfile.pdf](C:\Users\user\Downloads\myfile.pdf)

However, this doesn't take advantage of Logseq's inbuilt PDF capabilities. To do so, PDFs should be generated as such:

- ![myfile.pdf](file:///C:\Users\user\Downloads\myfile.pdf)

It just needs the file:/// at the beginning

image

Fixed in v2.0.0.