git.iko.soy/typeable/pandoc
on master help sign in
Final update of changelog.
f1dde27John MacFarlane
changelog+25−21
@@ -47,22 +47,23 @@ pandoc (1.8)
47 > where removeLink (Link xs _) = Emph xs
47 > where removeLink (Link xs _) = Emph xs
48 > removeLink x = x
48 > removeLink x = x
49
49
50− * Attributes are now allowed in inline `Code` elements.
50+ To use this to remove links while translating markdown to LaTeX:
51− Thus, `` `x >>= y >> z`{.haskell} ``. The `Code` inline
52− has an extra argument place for attributes, just like
53− `CodeBlock`. Inline code will be highlighted in HTML output,
54− if pandoc is compiled with highlighting support.
55− Resolves Issue #119.
56
51
57− * URLs in autolinks now use class "url" so they can be styled.
52+ pandoc -t json | runghc removelinks.lhs | pandoc -f json -t latex
53+
54+ * Attributes are now allowed in inline `Code` elements, for example:
55+
56+ > In this code, `ulist ! [theclass "special"] << elts`{.haskell} is...
57+
58+ The attribute syntax is the same as for delimited code blocks.
59+ `Code` inline has an extra argument place for attributes, just like
60+ `CodeBlock`. Inline code will be highlighted in HTML output, if pandoc
61+ is compiled with highlighting support. Resolves Issue #119.
58
62
59 * New `RawBlock` and `RawInline` elements (replacing `RawHtml`,
63 * New `RawBlock` and `RawInline` elements (replacing `RawHtml`,
60 `HtmlInline`, and `TeX`) provide lots of flexibility in writing
64 `HtmlInline`, and `TeX`) provide lots of flexibility in writing
61− scripts to transform Pandoc documents. One can now control
65+ scripts to transform Pandoc documents. Scripts can now change
62− exactly how each element is rendered in each output format.
66+ how each element is rendered in each output format.
63−
64− * A new `--mathjax` option has been added for displaying
65− math in HTML using MathJax. Resolves issue #259.
66
67
67 * You can now define LaTeX macros in markdown documents, and pandoc
68 * You can now define LaTeX macros in markdown documents, and pandoc
68 will apply them to TeX math. For example,
69 will apply them to TeX math. For example,
@@ -76,9 +77,12 @@ pandoc (1.8)
76 * LaTeX macros can also be used in LaTeX documents (both in math
77 * LaTeX macros can also be used in LaTeX documents (both in math
77 and in non-math contexts).
78 and in non-math contexts).
78
79
80+ * A new `--mathjax` option has been added for displaying
81+ math in HTML using MathJax. Resolves issue #259.
82+
79 * Footnotes are now supported in the RST reader. (Note, however,
83 * Footnotes are now supported in the RST reader. (Note, however,
80− that pandoc ignores the numeral or symbol used in the note;
84+ that unlike docutils, pandoc ignores the numeral or symbol used in
81− footnotes are put in an auto-numbered ordered list.)
85+ the note; footnotes are put in an auto-numbered ordered list.)
82 Resolves Issue #258.
86 Resolves Issue #258.
83
87
84 * A new `--normalize` option causes pandoc to normalize the AST
88 * A new `--normalize` option causes pandoc to normalize the AST
@@ -101,6 +105,8 @@ pandoc (1.8)
101
105
102 * `markdown2pdf` now supports `--data-dir`.
106 * `markdown2pdf` now supports `--data-dir`.
103
107
108+ * URLs in autolinks now have class "url" so they can be styled.
109+
104 * Improved prettyprinting in most formats. Lines will be wrapped
110 * Improved prettyprinting in most formats. Lines will be wrapped
105 more evenly and duplicate blank lines avoided.
111 more evenly and duplicate blank lines avoided.
106
112
@@ -158,14 +164,14 @@ pandoc (1.8)
158 `http(s)` scheme. Previously pandoc would treat some
164 `http(s)` scheme. Previously pandoc would treat some
159 Windows pathnames beginning with `C:/` as URIs.
165 Windows pathnames beginning with `C:/` as URIs.
160
166
161− * pandoc now adds a newline to the end of its output in fragment
162− mode (= not `--standalone`).
163−
164 * The `--sanitize-html` option and the `stateSanitize` field in
167 * The `--sanitize-html` option and the `stateSanitize` field in
165 `ParserState` have been removed. Sanitization is better done in the
168 `ParserState` have been removed. Sanitization is better done in the
166 resulting HTML using `xss-sanitize`, which is based on pandoc's
169 resulting HTML using `xss-sanitize`, which is based on pandoc's
167 sanitization, but improved.
170 sanitization, but improved.
168
171
172+ * pandoc now adds a newline to the end of its output in fragment
173+ mode (= not `--standalone`).
174+
169 * Added support for `lang` in `html` tag in the HTML template,
175 * Added support for `lang` in `html` tag in the HTML template,
170 so you can do `pandoc -s -V lang=es`, for example.
176 so you can do `pandoc -s -V lang=es`, for example.
171
177
@@ -278,10 +284,7 @@ pandoc (1.8)
278 * Rewrote `spaceChar` and some other parsers in Text.Pandoc.Parsing
284 * Rewrote `spaceChar` and some other parsers in Text.Pandoc.Parsing
279 for a significant performance boost.
285 for a significant performance boost.
280
286
281− * Improved performance of all readers by replacing some uses
287+ * Improved performance of all readers by rewriting parsers.
282− of `oneOf` or `noneOf` with more efficient parsers, and by
283− rearranging parsers in lists (e.g. moving the RST whitespace
284− parser to the top of the list of inline parsers).
285
288
286 * Simplified Text.Pandoc.CharacterReferences by using
289 * Simplified Text.Pandoc.CharacterReferences by using
287 entity lookup functions from TagSoup.
290 entity lookup functions from TagSoup.
@@ -367,6 +370,7 @@ pandoc (1.8)
367 contained `\begin{document}` in, say, a verbatim block.
370 contained `\begin{document}` in, say, a verbatim block.
368 + Allow spaces between '\begin' or '\end' and '{'.
371 + Allow spaces between '\begin' or '\end' and '{'.
369 + Support \L and \l.
372 + Support \L and \l.
373+ + Skip comments inside paragraphs.
370
374
371 * LaTeX writer:
375 * LaTeX writer:
372
376