summaryrefslogtreecommitdiff
path: root/src/Text
diff options
context:
space:
mode:
authorJasper Van der Jeugt <jaspervdj@gmail.com>2010-02-16 17:24:32 +0100
committerJasper Van der Jeugt <jaspervdj@gmail.com>2010-02-16 17:24:32 +0100
commit87e7e99a8c1ced4a861d3d801c4fb4ea7d615dcf (patch)
tree4c181b4bfd025019777de89d1b53b28b66131efe /src/Text
parent4f5d4c166c37cc0526540852a57e678e5f5e00dc (diff)
downloadhakyll-87e7e99a8c1ced4a861d3d801c4fb4ea7d615dcf.tar.gz
Better lhs writing.
Diffstat (limited to 'src/Text')
-rw-r--r--src/Text/Hakyll/Page.hs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Text/Hakyll/Page.hs b/src/Text/Hakyll/Page.hs
index 2a1eae8..d2c73bd 100644
--- a/src/Text/Hakyll/Page.hs
+++ b/src/Text/Hakyll/Page.hs
@@ -63,6 +63,10 @@ readerOptions = defaultParserState { stateSmart = True }
-- | The default writer options for pandoc rendering.
writerOptions :: WriterOptions
writerOptions = defaultWriterOptions
+ { -- This option causes literate haskell to be written using '>' marks in
+ -- html, which I think is a good default.
+ , writerLiterateHaskell = True
+ }
-- | Get a render function for a given extension.
getRenderFunction :: String -> (String -> String)