From 808353bce4d1e316505b048e4fd5d2fb216fbab1 Mon Sep 17 00:00:00 2001 From: Jasper Van der Jeugt Date: Sun, 29 Sep 2013 17:52:58 +0200 Subject: Enable Pandoc highlighting by default --- hakyll.cabal | 2 +- src/Hakyll/Web/Pandoc.hs | 3 +++ web/releases.markdown | 4 ++++ 3 files changed, 8 insertions(+), 1 deletion(-) 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`: -- cgit v1.2.3