-
-
Save Kiwi/c3d02b3addc3d28649668aadef284aab to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Site.Compilers | |
( customPandocCompiler | |
, anchorsPandocCompiler | |
, includeCodePandocCompiler | |
, feedCompiler | |
) where | |
import Hakyll | |
( Compiler, | |
Item, | |
defaultHakyllReaderOptions, | |
defaultHakyllWriterOptions, | |
loadAllSnapshots, | |
pandocCompilerWithTransform, | |
pandocCompilerWithTransformM, | |
recentFirst, | |
unsafeCompiler ) | |
import Prelude ( (++), ($), Maybe(Just), IO, String, (.), (=<<) ) | |
import Text.Pandoc.Filter.IncludeCode ( includeCode ) | |
import Site.Contexts ( feedCtx ) | |
import Site.Feeds ( FeedRenderer, feedConfiguration ) | |
import Text.Pandoc | |
( Block(Header), Pandoc, Inline(Str, Link), Format(Format) ) | |
import Text.Pandoc.Walk ( Walkable(walk, walkM) ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Site.Compilers | |
( customPandocCompiler | |
, anchorsPandocCompiler | |
, includeCodePandocCompiler | |
, feedCompiler | |
) where | |
import Hakyll | |
import Prelude | |
import Text.Pandoc.Filter.IncludeCode | |
import Site.Contexts | |
import Site.Feeds | |
import Text.Pandoc | |
import Text.Pandoc.Walk |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Want to use -ddump-minimal-imports as the final version but when writing easily go back to how it is in developing.hs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment