git.iko.soy/typeable/pandoc
on master help sign in
Make `Ext_raw_html` default for commonmark format.
commit7507117f150dd6d36835cf86ae0872b8af302af1 authorJohn MacFarlane <jgm@berkeley.edu> dateFri 2 Mar 2018, 16:29 (9 years ago) parent40dad9f
2 files changed+9−5
changelog+7−5 src/Text/Pandoc/Extensions.hs+2
changelog+7−5
@@ -199,10 +199,12 @@ pandoc (2.1.2)
199199 + Determine image size for PDFs (#4322).
200200 + EMF Image size support (#4375, Andrew Pritchard).
201201
202− * Text.Pandoc.Extensions: Add `Ext_styles` (Jesse Rosenthal,
203− API change). This will be used in the docx reader (defaulting to off) to
204− read pargraph and character styles not understood by pandoc (as divs and
205− spans, respectively).
202+ * Text.Pandoc.Extensions:
203+
204+ + Add `Ext_styles` (Jesse Rosenthal, API change). This will be used in
205+ the docx reader (defaulting to off) to read pargraph and character
206+ styles not understood by pandoc (as divs and spans, respectively).
207+ + Made `Ext_raw_html` default for `commonmark` format.
206208
207209 * Text.Pandoc.Parsing:
208210
@@ -1969,7 +1971,7 @@ pandoc (2.0)
19691971 * HTML reader: parse a span with class `smallcaps` as `SmallCaps`.
19701972
19711973 * LaTeX reader:
1972−
1974+
19731975 + Implemented `\graphicspath` (#736).
19741976 + Properly handle column prefixes/suffixes. For example, in
19751977 `\begin{tabular}{>{$}l<{$}>{$}l<{$} >{$}l<{$}}`
src/Text/Pandoc/Extensions.hs+2
@@ -317,6 +317,8 @@ getDefaultExtensions "muse" = extensionsFromList
317317 Ext_auto_identifiers]
318318getDefaultExtensions "plain" = plainExtensions
319319getDefaultExtensions "gfm" = githubMarkdownExtensions
320+getDefaultExtensions "commonmark" = extensionsFromList
321+ [Ext_raw_html]
320322getDefaultExtensions "org" = extensionsFromList
321323 [Ext_citations,
322324 Ext_auto_identifiers]