Skip to content

Commit

Permalink
Turn on Syntax Highlighting by Default
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisPenner committed Jul 18, 2017
1 parent b4c5572 commit b0695b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SitePipe/Readers.hs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ mkPandocReaderWith pReader transformer writer content = writer . transformer <$>

-- | A simple helper which renders pandoc to HTML; good for use with 'mkPandocReaderWith'
pandocToHTML :: Pandoc -> String
pandocToHTML = writeHtmlString def
pandocToHTML = writeHtmlString def{writerHighlight=True}

-- | Runs the Pandoc reader handling errors.
runPandocReader :: (MonadThrow m) => (String -> Either PandocError Pandoc) -> String -> m Pandoc
Expand Down

0 comments on commit b0695b2

Please sign in to comment.