diff options
author | Jasper Van der Jeugt <jaspervdj@gmail.com> | 2010-02-16 17:24:32 +0100 |
---|---|---|
committer | Jasper Van der Jeugt <jaspervdj@gmail.com> | 2010-02-16 17:24:32 +0100 |
commit | 87e7e99a8c1ced4a861d3d801c4fb4ea7d615dcf (patch) | |
tree | 4c181b4bfd025019777de89d1b53b28b66131efe /src/Text | |
parent | 4f5d4c166c37cc0526540852a57e678e5f5e00dc (diff) | |
download | hakyll-87e7e99a8c1ced4a861d3d801c4fb4ea7d615dcf.tar.gz |
Better lhs writing.
Diffstat (limited to 'src/Text')
-rw-r--r-- | src/Text/Hakyll/Page.hs | 4 |
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) |