Fork me on GitHub
#announcements
<
2022-01-27
>
mkvlr16:01:32

We’ve just released io.github.nextjournal/clerk {:mvn/version "0.5.346"} on Clojars. It’s a BIG update. Highlights are various improvements to the viewer api: • 🏞️ https://snapshots.nextjournal.com/clerk-demo/build/bd74d652a8dddbdddb42b62fe8043cf1f4b4e65d/notebooks/images.html for `java.awt.image.BufferedImage` with automatic layouting. • 🪆 https://snapshots.nextjournal.com/clerk/build/b9f35eb58a32f9b13d50d74143b9e2418dd2d1db/index.html#/notebooks/viewers_nested.clj inside e.g. `html` or `table` viewers. • 🤕 https://snapshots.nextjournal.com/clerk/build/cddd487c37b26e872b1a56bb2a0959b05cbfc0b0/index.html#/notebooks/viewer_api_meta.clj. Clerk’s viewer api has been based on functions that modify the result. This can be undesired if you want to depend on the unmodified value downstream. You can now alternatively use metadata using the `:nextjournal.clerk/viewer` to convey the viewer. Valid values are viewer functions or keywords. The latter is useful when you don’t want a runtime dependency on Clerk. • 🎰 https://github.com/nextjournal/clerk/commit/567bf29908d83490b823f0c4d87ebb3bd0837508 to semantically limit how much data is sent to the browser. There’s a lot more in the https://github.com/nextjournal/clerk/blob/main/CHANGELOG.md#05346-2022-01-27. Follow-up in #nextjournal

nice 16
gratitude 7
❤️ 5
clj 5
🚀 4
🎉 2
bmo 1