aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesse Rosenthal <jrosenthal@jhu.edu>2018-02-22 12:54:57 -0500
committerJesse Rosenthal <jrosenthal@jhu.edu>2018-02-22 12:54:57 -0500
commit88d17c6c66954be47bfa0f625323aca2ba48a9e9 (patch)
tree492ce0792a2c333426887da75cf657a102d6ebac
parentb8f0d15a72bcd7423f8a929855766d86bf7ffd90 (diff)
downloadpandoc-88d17c6c66954be47bfa0f625323aca2ba48a9e9.tar.gz
Extensions: Add Ext_styles
This will be used in the docx reader (defaulting to off) to read pargraph and character styles not understood by pandoc (as divs and spans, respectively).
-rw-r--r--src/Text/Pandoc/Extensions.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Text/Pandoc/Extensions.hs b/src/Text/Pandoc/Extensions.hs
index 8f6d49ade..fe690713c 100644
--- a/src/Text/Pandoc/Extensions.hs
+++ b/src/Text/Pandoc/Extensions.hs
@@ -149,6 +149,7 @@ data Extension =
| Ext_strikeout -- ^ Strikeout using ~~this~~ syntax
| Ext_subscript -- ^ Subscript using ~this~ syntax
| Ext_superscript -- ^ Superscript using ^this^ syntax
+ | Ext_styles -- ^ Read styles that pandoc doesn't know
| Ext_table_captions -- ^ Pandoc-style table captions
| Ext_tex_math_dollars -- ^ TeX math between $..$ or $$..$$
| Ext_tex_math_double_backslash -- ^ TeX math btw \\(..\\) \\[..\\]