update org-link behavior previewing pdf

pull/2281/head
rcmerci 2021-06-24 13:26:18 +08:00 committed by Tienson Qin
parent cce89f8f17
commit dc39896bde
1 changed files with 3 additions and 2 deletions

View File

@ -646,7 +646,9 @@
(or
(and
(nil? metadata-show)
(text/image-link? img-formats s))
(or
(config/local-asset? s)
(text/image-link? img-formats s)))
(true? (boolean metadata-show)))))))
(defn inline
@ -749,7 +751,6 @@
(map-inline config label))
(and (util/electron?)
(config/local-asset? s)
(show-link? config metadata s full_text))
(asset-reference (second (first label)) s)