nextjournal

teodorlu 2025-11-28T09:13:18.426049Z

I spent some time with https://github.com/nextjournal/markdown the last two days. I just have to say, this feels so good to use. The way you expose the AST, the data format for the AST, conversion to hiccup, and how I can extend hiccup conversion easily with my own types. I have a corpus of about 100 markdown files that I previously converted with pandoc (--from markdown --to html) that I want to use nextjournal/markdown to convert. I hit some assumptions around raw HTML in markdown files, and the "convert this type to hiccup like this" functionality (`:html-block`) felt so nice to use. No multimethods, no weird surprises, just a map merge. I'm super happy that we now have a very nice Markdown library that's written for Clojure.

🖤 3
❤️ 3
🎉 4
borkdude 2025-11-28T09:26:00.600829Z

And available in bb too :)

teodorlu 2025-11-28T09:40:17.071919Z

Icing on the cake 😁

teodorlu 2025-11-28T09:46:12.678259Z

did the java commonmark library add much to babashka's binary size?

borkdude 2025-11-28T09:52:57.365449Z

not much, just 1mb

🤗 1