diff options
author | John MacFarlane <jgm@berkeley.edu> | 2015-06-27 20:18:14 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2015-06-27 20:18:14 -0700 |
commit | 177533d3f803f3d50881a63a50d5faf62432ac44 (patch) | |
tree | 8e90c2d3400e69be285103e50ccd1f94b0dffbaf /src/Text/Pandoc | |
parent | ba76e6fcf17f55fb2f55c47f23545ad19f3f6a00 (diff) | |
download | pandoc-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.hs | 19 |
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 |