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

Heist.Extra

Synopsis

Documentation

runCustomNode :: Node -> Splices (Splice Identity) -> Splice Identity Source #

Useful for running a splice against an arbitrary node (such as that pulled from pandoc.tpl)

lookupHtmlTemplate :: forall (n :: Type -> Type) (m :: Type -> Type). Monad n => ByteString -> HeistT m n (Maybe Template) Source #

lookupHtmlTemplateMust :: forall (m :: Type -> Type) (n :: Type -> Type). Monad n => ByteString -> HeistT m n Template Source #

availableTemplates :: forall (n :: Type -> Type). HeistState n -> [Text] Source #