A small babashka script to convert HTML from stdin to hiccup and pretty print it.
I use this inside NeoVim with this config line
command PasteAsHiccup r !pbpaste | html2hiccup
And then whenever I want to paste some HTML as Hiccup I'll do :PasteAsHiccup
.