Minimal blog

This commit is contained in:
Tienson Qin
2020-07-14 19:17:19 +08:00
parent e5a1e55b42
commit 174bdc9dae
12 changed files with 527 additions and 185 deletions

View File

@@ -33,4 +33,10 @@
(let [loading? (rum/react *loading?)]
[:pre.pre-wrap-white-space.code
[:code (assoc attr :id id)
code]]))
code]]))
(defn html-export
[attr code]
[:pre
[:code attr
code]])