summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2018-03-02 16:29:04 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2018-03-02 16:30:39 -0800
commit7507117f150dd6d36835cf86ae0872b8af302af1 (patch)
tree95e97022bd7450876f62119d76054342eb5d544e
parent40dad9f644d3c792fde4d1d75b06ea3082afb595 (diff)
Make `Ext_raw_html` default for commonmark format.
-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]