rewrite-clj

borkdude 2021-11-07T12:54:05.147Z

Building a Clojure highlighter in a babashka script using rewrite-clj. Pretty basic, but works pretty good already

borkdude 2021-11-07T13:40:49.147700Z

Now looking a lot better with var defs + locals highlighting using clj-kondo analysis.

2021-11-07T14:37:15.148200Z

That looks great

borkdude 2021-11-07T21:43:35.148700Z

The code: https://github.com/borkdude/blog/blob/main/highlighter.clj The highlighting has been applied to my blog as well.

borkdude 2021-11-07T23:33:14.149Z

borkdude 2021-11-07T23:33:28.149200Z

^ featuring #rewrite-clj