diff options
| author | Stephan Meijer <me@stephanmeijer.com> | 2023-05-08 08:16:52 +0000 |
|---|---|---|
| committer | John MacFarlane <jgm@berkeley.edu> | 2023-05-08 08:44:29 -0700 |
| commit | c97db9af26da666667f6173e31c97c846ec2cb5f (patch) | |
| tree | c75c5ebed83d85acbe3833d957580393f33edc29 /src | |
| parent | 65346fa6b1ced5062cf059335b4e9b2db48c287c (diff) | |
Introduce support for Intense Quote in Docx conversion
This commit introduces support for the Intense Quote in Docx Conversion.
Previously this was converted to a regular paragraph, but Intense Quote
should be interpreted as a Quote in conversion.
Diffstat (limited to 'src')
| -rw-r--r-- | src/Text/Pandoc/Readers/Docx.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Text/Pandoc/Readers/Docx.hs b/src/Text/Pandoc/Readers/Docx.hs index c91372553..c1dd3dff4 100644 --- a/src/Text/Pandoc/Readers/Docx.hs +++ b/src/Text/Pandoc/Readers/Docx.hs @@ -23,7 +23,7 @@ implemented, [-] means partially implemented): - [X] Para - [X] CodeBlock (styled with `SourceCode`) - - [X] BlockQuote (styled with `Quote`, `BlockQuote`, or, optionally, + - [X] BlockQuote (styled with `Quote`, `BlockQuote`, `Intense Quote` or, optionally, indented) - [X] OrderedList - [X] BulletList @@ -244,7 +244,7 @@ isCodeDiv = hasStylesInheritedFrom ["Source Code", "SourceCode", "source_code"] isBlockQuote :: ParStyle -> Bool isBlockQuote = isInheritedFromStyles [ - "Quote", "Block Text", "Block Quote", "Block Quotation" + "Quote", "Block Text", "Block Quote", "Block Quotation", "Intense Quote" ] runElemToInlines :: RunElem -> Inlines |
