git.iko.soy/typeable/pandoc
on master help sign in
Markdown fixes in changelog.
fecdd80John MacFarlane
changelog+16−16
@@ -41,19 +41,19 @@ pandoc (1.8)
41 to write scripts that transform a JSON-encoded pandoc document.
41 to write scripts that transform a JSON-encoded pandoc document.
42 For example:
42 For example:
43
43
44− > -- removelinks.lhs - removes links from document
44+ -- removelinks.hs - removes links from document
45− > import Text.Pandoc
45+ import Text.Pandoc
46− > main = interact $ jsonFilter $ bottomUp removeLink
46+ main = interact $ jsonFilter $ bottomUp removeLink
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 To use this to remove links while translating markdown to LaTeX:
50 To use this to remove links while translating markdown to LaTeX:
51
51
52− pandoc -t json | runghc removelinks.lhs | pandoc -f json -t latex
52+ pandoc -t json | runghc removelinks.hs | pandoc -f json -t latex
53
53
54 * Attributes are now allowed in inline `Code` elements, for example:
54 * Attributes are now allowed in inline `Code` elements, for example:
55
55
56− > In this code, `ulist ! [theclass "special"] << elts`{.haskell} is...
56+ In this code, `ulist ! [theclass "special"] << elts`{.haskell} is...
57
57
58 The attribute syntax is the same as for delimited code blocks.
58 The attribute syntax is the same as for delimited code blocks.
59 `Code` inline has an extra argument place for attributes, just like
59 `Code` inline has an extra argument place for attributes, just like
@@ -243,7 +243,7 @@ pandoc (1.8)
243 relative widths of columns.
243 relative widths of columns.
244
244
245 * Markdown writer now uses some pandoc-specific features when `--strict`
245 * Markdown writer now uses some pandoc-specific features when `--strict`
246− is not specified: \ newline is used for a hard linebreak instead of
246+ is not specified: `\` newline is used for a hard linebreak instead of
247 two spaces then a newline. And delimited code blocks are used when
247 two spaces then a newline. And delimited code blocks are used when
248 there are attributes.
248 there are attributes.
249
249
@@ -268,7 +268,7 @@ pandoc (1.8)
268
268
269 * The `COLUMNS` environment variable no longer has any effect.
269 * The `COLUMNS` environment variable no longer has any effect.
270
270
271− [Under-the-hood improvements]
271+ [under-the-hood improvements]
272
272
273 * Pandoc now compiles with GHC 7. (This alone leads to a
273 * Pandoc now compiles with GHC 7. (This alone leads to a
274 significant performance improvement, 15-20%.)
274 significant performance improvement, 15-20%.)
@@ -328,7 +328,7 @@ pandoc (1.8)
328 install pandoc from the tarball without needing to build the man
328 install pandoc from the tarball without needing to build the man
329 pages.
329 pages.
330
330
331− [Bug fixes]
331+ [bug fixes]
332
332
333 * Filenames are encoded as UTF8. Resolves Issue #252.
333 * Filenames are encoded as UTF8. Resolves Issue #252.
334
334
@@ -372,14 +372,14 @@ pandoc (1.8)
372 + Improved parsing of preamble.
372 + Improved parsing of preamble.
373 Previously you'd get unexpected behavior on a document that
373 Previously you'd get unexpected behavior on a document that
374 contained `\begin{document}` in, say, a verbatim block.
374 contained `\begin{document}` in, say, a verbatim block.
375− + Allow spaces between '\begin' or '\end' and '{'.
375+ + Allow spaces between `\begin` or `\end` and `{`.
376− + Support \L and \l.
376+ + Support `\L` and `\l`.
377 + Skip comments inside paragraphs.
377 + Skip comments inside paragraphs.
378
378
379 * LaTeX writer:
379 * LaTeX writer:
380
380
381− + Escape strings in \href{..}.
381+ + Escape strings in `\href{..}`.
382− + In nonsimple tables, put cells in \parbox.
382+ + In nonsimple tables, put cells in `\parbox`.
383
383
384 * OpenDocument writer: don't print raw TeX.
384 * OpenDocument writer: don't print raw TeX.
385
385
@@ -394,8 +394,8 @@ pandoc (1.8)
394
394
395 * ConTeXt writer: Fixed problem with inline code. Previously
395 * ConTeXt writer: Fixed problem with inline code. Previously
396 `}` would be rendered `\type{}}`. Now we check the string for '}' and '{'.
396 `}` would be rendered `\type{}}`. Now we check the string for '}' and '{'.
397− If it contains neither, use \type{}; otherwise use \mono{} with an escaped
397+ If it contains neither, use `\type{}`; otherwise use `\mono{}`
398− version of the string.
398+ with an escaped version of the string.
399
399
400 * `:` now allowed in HTML tags. Resolves Issue #274.
400 * `:` now allowed in HTML tags. Resolves Issue #274.
401
401