Skip to content

Latest commit

 

History

History
17 lines (12 loc) · 649 Bytes

README.md

File metadata and controls

17 lines (12 loc) · 649 Bytes

nextjournal.garden-clerk

A helper library for serving clerk notebooks on application.garden.

Usage

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!.