Building a Clojure highlighter in a babashka script using rewrite-clj. Pretty basic, but works pretty good already
Now looking a lot better with var defs + locals highlighting using clj-kondo analysis.
That looks great
The code: https://github.com/borkdude/blog/blob/main/highlighter.clj The highlighting has been applied to my blog as well.
^ featuring #rewrite-clj