clerk

teodorlu 2024-09-24T09:13:39.389619Z

Using the tap viewer, the table viewer and ::clerk/width :full together is super nice! chef_kiss

(require '[nextjournal.clerk :as clerk]
           '[clojure.test.check.generators :as gen])
  (def point-gen (gen/let [x gen/double
                           y gen/double]
                   {:x x :y y}))
  (tap> (clerk/table {::clerk/width :full} (gen/sample point-gen)))
(Full width isn't needed when there's just X and Y, but is super helpful when I've got long column names and many columns)

👍 1