mathiassm
Safe HaskellNone
LanguageGHC2024

MathiasSM.Compile

Description

Pandoc compilation and the post-processing shared by every page

Synopsis

Documentation

runPandoc :: Item String -> Compiler (Item String) Source #

Custom configuration for Pandoc

applyTemplates :: Context String -> [Identifier] -> Item String -> Compiler (Item String) Source #

Applies the given templates in order, each wrapping the previous result

finish :: SiteConfig -> Context String -> Item String -> Compiler (Item String) Source #

Factors out the final common default steps for basically all pages