heist-extra-0.4.0.0: Extra heist functionality
Safe HaskellNone
LanguageHaskell2010

Heist.Extra.Splices.Pandoc

Synopsis

Documentation

data RenderCtx Source #

The configuration context under which we must render a Pandoc document using the given Heist template.

pandocSplice :: RenderCtx -> Pandoc -> Splice Identity Source #

A splice to render a Pandoc AST

To delegate rendering of blocks and inlines from a custom splice.