add embed-data link-type

related to https://github.com/logseq/mldoc/pull/110
This commit is contained in:
rcmerci
2021-11-24 15:32:49 +08:00
committed by Tienson Qin
parent b05f79a032
commit 22e429cc84

View File

@@ -290,7 +290,7 @@
config/publishing?
(subs href 1)
(= protocol "data")
(= "Embed_data" (first url))
href
:else
@@ -871,6 +871,9 @@
[:span (util/format "[[%s]]" page)]
(page-reference (:html-export? config) page config label*)))))
["Embed_data" src]
(image-link config url src nil metadata full_text)
["Search" s]
(cond
(string/blank? s)