summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJasper Van der Jeugt <m@jaspervdj.be>2013-09-29 17:52:58 +0200
committerJasper Van der Jeugt <m@jaspervdj.be>2013-09-29 17:52:58 +0200
commit808353bce4d1e316505b048e4fd5d2fb216fbab1 (patch)
tree321f5e46c980902c3f53149a192621c0dca4a47f /src
parent364aa7bedcbbe253bc0ee255d47caa8bc12d58d7 (diff)
downloadhakyll-808353bce4d1e316505b048e4fd5d2fb216fbab1.tar.gz
Enable Pandoc highlighting by default
Diffstat (limited to 'src')
-rw-r--r--src/Hakyll/Web/Pandoc.hs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Hakyll/Web/Pandoc.hs b/src/Hakyll/Web/Pandoc.hs
index 47972f5..5a4f4f5 100644
--- a/src/Hakyll/Web/Pandoc.hs
+++ b/src/Hakyll/Web/Pandoc.hs
@@ -131,4 +131,7 @@ defaultHakyllWriterOptions = def
{ -- This option causes literate haskell to be written using '>' marks in
-- html, which I think is a good default.
writerExtensions = S.insert Ext_literate_haskell (writerExtensions def)
+ , -- We want to have hightlighting by default, to be compatible with earlier
+ -- Hakyll releases
+ writerHighlight = True
}