git.iko.soy/typeable/pandoc
on master help sign in
Make `Ext_raw_html` default for commonmark format.
7507117John MacFarlane
changelog+7−5
@@ -199,10 +199,12 @@ pandoc (2.1.2)
199 + Determine image size for PDFs (#4322).
199 + Determine image size for PDFs (#4322).
200 + EMF Image size support (#4375, Andrew Pritchard).
200 + EMF Image size support (#4375, Andrew Pritchard).
201
201
202− * Text.Pandoc.Extensions: Add `Ext_styles` (Jesse Rosenthal,
202+ * Text.Pandoc.Extensions:
203+
204+ + Add `Ext_styles` (Jesse Rosenthal, API change). This will be used in
203− API change). This will be used in the docx reader (defaulting to off) to
205+ the docx reader (defaulting to off) to read pargraph and character
204− read pargraph and character styles not understood by pandoc (as divs and
206+ styles not understood by pandoc (as divs and spans, respectively).
205− spans, respectively).
207+ + Made `Ext_raw_html` default for `commonmark` format.
206
208
207 * Text.Pandoc.Parsing:
209 * Text.Pandoc.Parsing:
208
210
@@ -1969,7 +1971,7 @@ pandoc (2.0)
1969 * HTML reader: parse a span with class `smallcaps` as `SmallCaps`.
1971 * HTML reader: parse a span with class `smallcaps` as `SmallCaps`.
1970
1972
1971 * LaTeX reader:
1973 * LaTeX reader:
1972−
1974+
1973 + Implemented `\graphicspath` (#736).
1975 + Implemented `\graphicspath` (#736).
1974 + Properly handle column prefixes/suffixes. For example, in
1976 + Properly handle column prefixes/suffixes. For example, in
1975 `\begin{tabular}{>{$}l<{$}>{$}l<{$} >{$}l<{$}}`
1977 `\begin{tabular}{>{$}l<{$}>{$}l<{$} >{$}l<{$}}`
src/Text/Pandoc/Extensions.hs+2
@@ -317,6 +317,8 @@ getDefaultExtensions "muse" = extensionsFromList
317 Ext_auto_identifiers]
317 Ext_auto_identifiers]
318getDefaultExtensions "plain" = plainExtensions
318getDefaultExtensions "plain" = plainExtensions
319getDefaultExtensions "gfm" = githubMarkdownExtensions
319getDefaultExtensions "gfm" = githubMarkdownExtensions
320+getDefaultExtensions "commonmark" = extensionsFromList
321+ [Ext_raw_html]
320getDefaultExtensions "org" = extensionsFromList
322getDefaultExtensions "org" = extensionsFromList
321 [Ext_citations,
323 [Ext_citations,
322 Ext_auto_identifiers]
324 Ext_auto_identifiers]