aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Shared.hs
diff options
context:
space:
mode:
authorJohn MacFarlane <fiddlosopher@gmail.com>2011-12-22 13:12:08 -0800
committerJohn MacFarlane <fiddlosopher@gmail.com>2011-12-22 13:12:08 -0800
commitf61e09cb9a67e13deee5c48ac815e03f79989817 (patch)
treea0d0b2a03bfb5060b5cd708098f2936f7f55c480 /src/Text/Pandoc/Shared.hs
parentb892b29eac00c801ffeede20f130bc5b3a35aaec (diff)
downloadpandoc-f61e09cb9a67e13deee5c48ac815e03f79989817.tar.gz
Added writerHighlight to WriterOptions.
Diffstat (limited to 'src/Text/Pandoc/Shared.hs')
-rw-r--r--src/Text/Pandoc/Shared.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Text/Pandoc/Shared.hs b/src/Text/Pandoc/Shared.hs
index f81910a10..fac965b89 100644
--- a/src/Text/Pandoc/Shared.hs
+++ b/src/Text/Pandoc/Shared.hs
@@ -482,6 +482,7 @@ data WriterOptions = WriterOptions
, writerHtml5 :: Bool -- ^ Produce HTML5
, writerChapters :: Bool -- ^ Use "chapter" for top-level sects
, writerListings :: Bool -- ^ Use listings package for code
+ , writerHighlight :: Bool -- ^ Highlight source code
} deriving Show
{-# DEPRECATED writerXeTeX "writerXeTeX no longer does anything" #-}
@@ -515,6 +516,7 @@ defaultWriterOptions =
, writerHtml5 = False
, writerChapters = False
, writerListings = False
+ , writerHighlight = False
}
--