chore: remove unused fns

This commit is contained in:
Tienson Qin
2021-04-28 15:37:37 +08:00
parent 72c2deb5f2
commit bce719cfc6

View File

@@ -554,12 +554,6 @@
{:block/path-refs path-ref-pages})]
(if uuid (assoc block :block/uuid uuid) block)))))
(defn with-levels
[text format {:block/keys [level pre-block?]}]
(let [pattern (config/get-block-pattern format)
prefix (if pre-block? "" (str (apply str (repeat level pattern)) " "))]
(str prefix (string/triml text))))
(defn macro-subs
[macro-content arguments]
(loop [s macro-content