summaryrefslogtreecommitdiff
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
parent364aa7bedcbbe253bc0ee255d47caa8bc12d58d7 (diff)
downloadhakyll-808353bce4d1e316505b048e4fd5d2fb216fbab1.tar.gz
Enable Pandoc highlighting by default
-rw-r--r--hakyll.cabal2
-rw-r--r--src/Hakyll/Web/Pandoc.hs3
-rw-r--r--web/releases.markdown4
3 files changed, 8 insertions, 1 deletions
diff --git a/hakyll.cabal b/hakyll.cabal
index 4ed276c..b014f23 100644
--- a/hakyll.cabal
+++ b/hakyll.cabal
@@ -1,5 +1,5 @@
Name: hakyll
-Version: 4.4.0.0
+Version: 4.4.1.0
Synopsis: A static website compiler library
Description:
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
}
diff --git a/web/releases.markdown b/web/releases.markdown
index 25f761c..bc17298 100644
--- a/web/releases.markdown
+++ b/web/releases.markdown
@@ -4,6 +4,10 @@ title: Releases
# Releases
+## Hakyll 4.4.1.0
+
+- Use Pandoc 1.12 highlighting by default
+
## Hakyll 4.4.0.0
- Update to work with Pandoc 1.12. This changes the type of `readPandocBibilio`: