summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--changelog12
-rw-r--r--src/Text/Pandoc/Extensions.hs2
2 files changed, 9 insertions, 5 deletions
diff --git a/changelog b/changelog
index 9cf6b6193..cd60dc428 100644
--- a/changelog
+++ b/changelog
@@ -199,10 +199,12 @@ pandoc (2.1.2)
+ Determine image size for PDFs (#4322).
+ EMF Image size support (#4375, Andrew Pritchard).
- * Text.Pandoc.Extensions: Add `Ext_styles` (Jesse Rosenthal,
- API change). 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).
+ * Text.Pandoc.Extensions:
+
+ + Add `Ext_styles` (Jesse Rosenthal, API change). 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).
+ + Made `Ext_raw_html` default for `commonmark` format.
* Text.Pandoc.Parsing:
@@ -1969,7 +1971,7 @@ pandoc (2.0)
* HTML reader: parse a span with class `smallcaps` as `SmallCaps`.
* LaTeX reader:
-
+
+ Implemented `\graphicspath` (#736).
+ Properly handle column prefixes/suffixes. For example, in
`\begin{tabular}{>{$}l<{$}>{$}l<{$} >{$}l<{$}}`
diff --git a/src/Text/Pandoc/Extensions.hs b/src/Text/Pandoc/Extensions.hs
index fe690713c..968476930 100644
--- a/src/Text/Pandoc/Extensions.hs
+++ b/src/Text/Pandoc/Extensions.hs
@@ -317,6 +317,8 @@ getDefaultExtensions "muse" = extensionsFromList
Ext_auto_identifiers]
getDefaultExtensions "plain" = plainExtensions
getDefaultExtensions "gfm" = githubMarkdownExtensions
+getDefaultExtensions "commonmark" = extensionsFromList
+ [Ext_raw_html]
getDefaultExtensions "org" = extensionsFromList
[Ext_citations,
Ext_auto_identifiers]