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.
And available in bb too :)
Icing on the cake 😁
did the java commonmark library add much to babashka's binary size?
not much, just 1mb