A Quarto extension for evaluating Jank code blocks in documents.
Write Jank code in .qmd files and get live results — code output, SVG, charts (Plotly, Vega-Lite, etc.), diagrams (Mermaid, Graphviz), markdown tables, and more. Uses the Kindly convention for rendering, compatible with the Clojure ecosystem.
Experimental — this project is at an early stage. Feedback and ideas are welcome via GitHub issues or the Scicloj Zulip chat.
Install the extension in your project:
quarto add scicloj/janquaCreate hello.qmd:
---
title: "Hello Jank"
filters:
- jank
---
```{.clojure .jank}
(+ 1 2 3)
```
```{.clojure .jank}
^:kind/hiccup
[:div {:style "color: coral; font-size: 24px;"} "Hello from Jank!"]
```Render it:
quarto render hello.qmdOr use live preview:
quarto preview hello.qmd- Quarto
- Jank
- Babashka + bbin
- clj-nrepl-eval:
bbin install https://github.com/bhauman/clojure-mcp-light.git --tag v0.2.1 --as clj-nrepl-eval --main-opts '["-m" "clojure-mcp-light.nrepl-eval"]'
MIT