mirror of
https://github.com/logseq/logseq.git
synced 2026-05-03 18:36:43 +00:00
add embed-data link-type
related to https://github.com/logseq/mldoc/pull/110
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user