@curiousdannii I've picked up some Haskell already hacking on this (I've written a functional if incomplete Pandoc output filter that writes to
SILE's input format. It's a bit rough around the edges as I've basically been dissecting the LaTeX writer and have no idea what I'm doing. Haskell seems pretty spectacularly powerful but I have to imagine my implementation to date looks about like
a jet bike.