fix: roam export replace embeds

This commit is contained in:
Tienson Qin
2021-06-17 20:03:53 +08:00
parent 75e90007e2
commit e57657e79a

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