My attempt at Advent of Code with Clerk.
You can see the notebook visualisation of the code on CLERK.garden.
Clone this repo, make sure you have Clojure installed, then run:
clj -M:nextjournal/clerk nextjournal.clerk/serve! --watch-paths src --port 7878 --browse
This will start the Clerk webserver on port 7878 and watch the src/
directory for changes and open Clerk in your browser.
Open one of the files there, e.g. day_01.clj
, make a change and save
it. You should then see these changes reflected in the browser.
If Clerk Garden is not up to date, update it.