Fork me on GitHub
#nextjournal
<
2022-02-05
>
Carlo14:02:53

Sometimes, I'd like to use clerk for documentation purposes, and the return value of a form is some clojure data-structure. Is there a metadata indication to have that pretty printed? I'll search the documentation again but sometimes I wish I had a quick-ref with all the metadata I can add to the forms for visualization purposes

1
Carlo14:02:05

Aha ^{::clerk/viewer clerk/code} was what I wanted!

🎉 2
mkvlr16:02:20

better docs including a quick-ref is on the roadmap 🙃