A helper library for serving clerk notebooks on application.garden.
To create a static build for a clerk notebook and serve it using a simple webserver, use something like this deps.edn
:
{:deps {io.github.nextjournal/garden-clerk {:git/sha "<version>"}}
:aliases
{:nextjournal/garden {:exec-fn nextjournal.garden-clerk/serve-static!
:exec-args {:paths ["hello.md" "world.clj"]
:index "hello.md"}}}}
Arguments passed in exec-args
are passed through to nextjournal.clerk/build!
.