fix: roam export replace embeds

pull/2223/head
Tienson Qin 2021-06-17 20:03:53 +08:00
parent 75e90007e2
commit e57657e79a
1 changed files with 3 additions and 1 deletions

View File

@ -57,7 +57,9 @@
(fn [c]
(-> c
(str/replace todo-marker-regex "{{[[TODO]]}}")
(str/replace done-marker-regex "{{[[DONE]]}}"))))
(str/replace done-marker-regex "{{[[DONE]]}}")
(str/replace "{{embed " "{{embed: ")
(trim))))
block))
(defn traverse