Welcome to the Functional Programming Zulip Chat Archive. You can join the chat here.
There is a bunch of code containing Heist splices for rendering Pandoc AST (generated from Markdown and the like) in https://github.com/srid/emanote if anybody is interested in re-using. I envision it can be refactored, and made into its own library. Modules of interest: Heist.Extra.Splices.Pandoc as well as Emanote.Pandoc.Renderer.
Allow customizing rendering at per-node inline or block level, in either Haskell (that's what 'Renderer' is for) or in Heist template (see pandoc.tpl).