mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Base org-download links off of org-download-image-dir
This commit is contained in:
@ -56,8 +56,8 @@ an file icon produced by `+org-attach-icon-for')."
|
||||
(if (= org-download-image-org-width 0) ""
|
||||
(format "#+attr_org: :width %dpx\n" org-download-image-org-width))
|
||||
(format org-download-link-format
|
||||
(if (file-in-directory-p filename org-attach-id-dir)
|
||||
(file-relative-name filename org-attach-id-dir)
|
||||
(if (file-in-directory-p filename org-download-image-dir)
|
||||
(file-relative-name filename org-download-image-dir)
|
||||
filename))))
|
||||
(org-display-inline-images))
|
||||
((insert
|
||||
|
Reference in New Issue
Block a user