clerk icon indicating copy to clipboard operation
clerk copied to clipboard

Clerk in Babashka

Open zampino opened this issue 2 years ago • 0 comments

  • [x] use bb / sci with fixed https://github.com/babashka/babashka/issues/1397
  • [x] drop stubs folder in favour of .bb source files
  • [x] fix auto-resolve in edamame read for e.g. ::clerk/visibility annotations
  • [x] fix add-viewers! scope
  • [x] var from defs
  • [x] support for markdown notebooks (?)
  • [x] fix slideshow viewer (?)
  • [ ] in-memory cache
  • [ ] on-disk cache (?)

Usage

Boot both an nREPL and a clerk server running in babashka:

$ bb --config bb-runtime.edn dev --port 9999

build clerk notebooks as static app:

$ bb --config bb-runtime.edn build --browse --paths notebooks/hello.clj notebooks/rule_30.clj

zampino avatar Oct 18 '22 16:10 zampino