No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 2 commits ahead of cdupont:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src/Hakyll/Web
.gitignore
CHANGES
LICENSE
README.md
Setup.hs
hakyll-diagrams.cabal
stack.yaml

README.md

Example usage:

If you just want to also compile diagrams as part of your normal post displaying, you just need the function pandocCompilerDiagrams).

Here's how I've included it:

match "posts/*" $ do
    route $ setExtension "html"
    compile $ 
            (pandocCompilerDiagrams "images/diagrams" <|> pandocMathCompiler)
        >>= loadAndApplyTemplate "templates/post.html"    postCtx
        >>= saveSnapshot "content"
        >>= loadAndApplyTemplate "templates/default.html" postCtx
        >>= relativizeUrls