From 5fc6669be6823f19dd515f699c90101e919e2803 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Thu, 26 Jan 2012 23:55:37 -0800 Subject: Added --atx-headers option. --- src/Text/Pandoc/Shared.hs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/Text/Pandoc') diff --git a/src/Text/Pandoc/Shared.hs b/src/Text/Pandoc/Shared.hs index 8a4850ed3..7bb4b68e5 100644 --- a/src/Text/Pandoc/Shared.hs +++ b/src/Text/Pandoc/Shared.hs @@ -483,6 +483,7 @@ data WriterOptions = WriterOptions , writerListings :: Bool -- ^ Use listings package for code , writerHighlight :: Bool -- ^ Highlight source code , writerHighlightStyle :: Style -- ^ Style to use for highlighting + , writerSetextHeaders :: Bool -- ^ Use setext headers for levels 1-2 in markdown } deriving Show {-# DEPRECATED writerXeTeX "writerXeTeX no longer does anything" #-} @@ -520,6 +521,7 @@ defaultWriterOptions = , writerListings = False , writerHighlight = False , writerHighlightStyle = pygments + , writerSetextHeaders = True } -- -- cgit v1.2.3