fix(org): asset link of org mode #1449

This commit is contained in:
charlie
2021-03-29 16:32:42 +08:00
committed by Tienson Qin
parent 3e8d326887
commit 63230580c8

View File

@@ -1503,7 +1503,7 @@
[format url file-name image?]
(case (keyword format)
:markdown (util/format (str (when image? "!") "[%s](%s)") file-name url)
:org (util/format "[[%s]]" url)
:org (util/format "[[%s][%s]]" url file-name)
nil))
(defn- get-asset-link