mirror of
https://github.com/logseq/logseq.git
synced 2026-05-02 01:46:35 +00:00
Merge remote-tracking branch 'origin/master' into test/add-clj-kondo-part-two
This commit is contained in:
@@ -105,14 +105,6 @@
|
||||
(and format (contains? (config/img-formats) format))
|
||||
[:img {:src path}]
|
||||
|
||||
(and format (contains? config/markup-formats format))
|
||||
(when-let [file-content (db/get-file path)]
|
||||
(let [content (string/trim file-content)]
|
||||
(content/content path {:config {:file? true
|
||||
:file-path path}
|
||||
:content content
|
||||
:format format})))
|
||||
|
||||
(and format (contains? (config/text-formats) format))
|
||||
(when-let [file-content (db/get-file path)]
|
||||
(let [content (string/trim file-content)
|
||||
|
||||
Reference in New Issue
Block a user