on master help sign in
Better lhs writing.
commit87e7e99a8c1ced4a861d3d801c4fb4ea7d615dcf authorJasper Van der Jeugt <jaspervdj@gmail.com> dateTue 16 Feb 2010, 17:24 (17 years ago) parent4f5d4c1
1 file changed+4
src/Text/Hakyll/Page.hs+4
src/Text/Hakyll/Page.hs+4
@@ -63,6 +63,10 @@ readerOptions = defaultParserState { stateSmart = True }
6363-- | The default writer options for pandoc rendering.
6464writerOptions :: WriterOptions
6565writerOptions = defaultWriterOptions
66+ { -- This option causes literate haskell to be written using '>' marks in
67+ -- html, which I think is a good default.
68+ , writerLiterateHaskell = True
69+ }
6670
6771-- | Get a render function for a given extension.
6872getRenderFunction :: String -> (String -> String)