heist-extra-0.2.0.0: Extra heist functionality
Safe HaskellSafe-Inferred
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.