fix: org image syntax

pull/1260/head
Tienson Qin 2021-02-03 18:26:46 +08:00
parent 19cc69c82c
commit b3ddcaef59
1 changed files with 1 additions and 1 deletions

View File

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