aboutsummaryrefslogtreecommitdiff
path: root/src/pandoc.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/pandoc.hs')
-rw-r--r--src/pandoc.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pandoc.hs b/src/pandoc.hs
index 0b7380f54..f855e2d3f 100644
--- a/src/pandoc.hs
+++ b/src/pandoc.hs
@@ -839,7 +839,8 @@ main = do
writerHtml5 = html5 ||
slideVariant == DZSlides,
writerChapters = chapters,
- writerListings = listings }
+ writerListings = listings,
+ writerHighlight = True }
when (isNonTextOutput writerName' && outputFile == "-") $
do UTF8.hPutStrLn stderr ("Error: Cannot write " ++ writerName' ++ " output to stdout.\n" ++