aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-06-27 20:18:14 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2015-06-27 20:18:14 -0700
commit177533d3f803f3d50881a63a50d5faf62432ac44 (patch)
tree8e90c2d3400e69be285103e50ccd1f94b0dffbaf /src/Text/Pandoc
parentba76e6fcf17f55fb2f55c47f23545ad19f3f6a00 (diff)
downloadpandoc-177533d3f803f3d50881a63a50d5faf62432ac44.tar.gz
Options: Export `plainExtensions`.
These are the extensions used in `plain` output.
Diffstat (limited to 'src/Text/Pandoc')
-rw-r--r--src/Text/Pandoc/Options.hs19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/Text/Pandoc/Options.hs b/src/Text/Pandoc/Options.hs
index 353bf4865..17eb4a15c 100644
--- a/src/Text/Pandoc/Options.hs
+++ b/src/Text/Pandoc/Options.hs
@@ -31,6 +31,7 @@ options.
-}
module Text.Pandoc.Options ( Extension(..)
, pandocExtensions
+ , plainExtensions
, strictExtensions
, phpMarkdownExtraExtensions
, githubMarkdownExtensions
@@ -158,6 +159,24 @@ pandocExtensions = Set.fromList
, Ext_shortcut_reference_links
]
+plainExtensions :: Set Extension
+plainExtensions = Set.fromList
+ [ Ext_table_captions
+ , Ext_implicit_figures
+ , Ext_simple_tables
+ , Ext_multiline_tables
+ , Ext_grid_tables
+ , Ext_latex_macros
+ , Ext_fancy_lists
+ , Ext_startnum
+ , Ext_definition_lists
+ , Ext_example_lists
+ , Ext_intraword_underscores
+ , Ext_blank_before_blockquote
+ , Ext_blank_before_header
+ , Ext_strikeout
+ ]
+
phpMarkdownExtraExtensions :: Set Extension
phpMarkdownExtraExtensions = Set.fromList
[ Ext_footnotes