diff options
author | John MacFarlane <fiddlosopher@gmail.com> | 2012-01-26 23:55:37 -0800 |
---|---|---|
committer | John MacFarlane <fiddlosopher@gmail.com> | 2012-01-26 23:55:37 -0800 |
commit | 5fc6669be6823f19dd515f699c90101e919e2803 (patch) | |
tree | 41a68f7b9248af4bc91114cc53668944a7725374 /src/Text | |
parent | 1ce7c38bc415630c5e84e44d69fbdcf92873f8df (diff) | |
download | pandoc-5fc6669be6823f19dd515f699c90101e919e2803.tar.gz |
Added --atx-headers option.
Diffstat (limited to 'src/Text')
-rw-r--r-- | src/Text/Pandoc/Shared.hs | 2 |
1 files changed, 2 insertions, 0 deletions
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 } -- |