Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2019-01-10 | Make 'plain' RawBlocks work for 'plain' output. | John MacFarlane | 1 | -0/+5 | |
2019-01-09 | RST reader: change treatment of `number-lines` directives. (#5207) | Brian Leung | 1 | -15/+15 | |
Directives of this type without numeric inputs should not have a `startFrom` attribute; with a blank value, the writers can produce extra whitespace. | |||||
2019-01-09 | Beamer writer: avoid duplicated `fragile` property in some cases. | John MacFarlane | 1 | -1/+3 | |
Closes #5208. | |||||
2019-01-08 | EPUB writer: ensure that picture transforms are done on metadata too. | John MacFarlane | 1 | -6/+6 | |
2019-01-08 | Removed superfluous sourceCode class on code blocks. | John MacFarlane | 3 | -11/+7 | |
* These were added by the RST reader and, for literate Haskell, by the Markdown and LaTeX readers. There is no point to this class, and it is not applied consistently by all readers. See #5047. * Reverse order of `literate` and `haskell` classes on code blocks when parsing literate Haskell. Better if `haskell` comes first. | |||||
2019-01-08 | RST reader: handle sourcecode directive as synonynm for code. | John MacFarlane | 1 | -1/+1 | |
Closes #5204. | |||||
2019-01-07 | Asciidoc writer: shorter delimiters for tables, blockquotes. | John MacFarlane | 1 | -3/+2 | |
This matches asciidoctor reference docs. Closes #4364. | |||||
2019-01-07 | revealjs writer: fix some section nesting corner cases. | John MacFarlane | 1 | -6/+13 | |
* Ensure that we don't get > 2 levels of section nesting, even with slide level > 2. * If slide level == N but there is no N-level header, make sure the next header with level > N gets treated as a slide and put in a section, rather than remaining loose. Closes #5168. | |||||
2019-01-07 | Org reader: allow for case of :minlevel == 0. | John MacFarlane | 1 | -1/+3 | |
See #5190. | |||||
2019-01-07 | Org reader: handle `minlevel` option differently. (#5190) | Brian Leung | 1 | -3/+1 | |
When `minlevel` exceeds the original minimum level observed in the file to be included, every heading should be shifted rightward. | |||||
2019-01-07 | TWiki reader: fix performance issue with underscores. | John MacFarlane | 1 | -1/+3 | |
Underscore emphasis can't cross table cell boundaries, but the parser wasn't respecting this, leading to exponential behavior in documents with table cells containing underscores. This fixes the original sample; it's possible that there are other performance issues involving underscores. Closes #3921. | |||||
2019-01-06 | Add DokuWiki reader (#5108) | Alexander | 2 | -0/+532 | |
Closes #1792 | |||||
2019-01-04 | Use toTableOfContents in Powerpoint writer.... | John MacFarlane | 1 | -16/+3 | |
instead of duplicating code. | |||||
2019-01-04 | RTF writer: use toTableOfContents from T.P.W.Shared. | John MacFarlane | 1 | -17/+2 | |
2019-01-04 | Implement --toc in commonmark/gfm writers. | John MacFarlane | 2 | -3/+14 | |
Closes #5172. | |||||
2019-01-04 | T.P.Writers.Shared - add toTableOfContents (API change). | John MacFarlane | 2 | -22/+25 | |
This is refactored out from the Markdown writer. IT can be used in other writers to create a generic TOC. | |||||
2019-01-02 | Implement task lists (#5139) | Mauro Bieg | 8 | -18/+96 | |
Closes #3051 | |||||
2019-01-02 | EPUB writer: small fixes to nav.xhtml. | John MacFarlane | 1 | -0/+1 | |
* Add 'landmarks' id attribute to the landmarks nav. * Replace old default CSS removing numbers from ol.toc li with new rules that match `nav#toc ol, nav#landmarks ol`. * We keep the `toc` class on `ol` for backwards compatibility. | |||||
2019-01-02 | Commonmark writer: fix handling of SoftBreak with `hard_line_breaks`. | John MacFarlane | 1 | -1/+1 | |
This should be rendered as a space. Closes #5195. | |||||
2019-01-01 | Zimwiki writer: remove automatic colon prefix before internal images (#5183) | damien clochard | 1 | -6/+2 | |
* FIX #5183 : zimwiki : remove automatic colon prefix before internal images ![](foo.png) should be converted to {{foo.png}} (relative path) ![](/foo.png] should be converted to {{/foo.png}} (absolute path) Therefore the ':' prefix is useless and must be removed. I never used the zimwiki, but i submitted the similar dokuwiki fix. 1. The zimwiki syntax is inspired by dokuwiki 2. The zimwiki documentation does not mention the colon character for images 3. The pandoc zimwiki writer seems to be a copy-paste for the dokuwiki writer If the PR #5184 is applied, I think this one should be applied too. | |||||
2019-01-01 | Dokuwiki writer: remove automatic ':' prefix before internal image links (#5183) | damien clochard | 1 | -6/+2 | |
* FIX #5183 : remove automatic ':' prefix before internal image links `![](foo.png)` should be converted to `{{foo.png}}` (relative path) `![](/foo.png]` should be converted to `{{/foo.png}}` (absolute path) Therefore the ':' prefix is useless and must be removed. It blocks users from making relative image links. Update tests for DokuWiki Writer : external images | |||||
2019-01-01 | Org reader: fix self-link parsing regression | Albert Krewinkel | 1 | -5/+6 | |
Fixes a regression introduced by the previous commit. | |||||
2019-01-01 | Org reader: fix treatment of links to images | Albert Krewinkel | 2 | -13/+16 | |
Links with descriptions which are pointing to images are no longer read as inline images, but as proper links. Fixes: #5191 | |||||
2019-01-01 | Org reader: hlint | Albert Krewinkel | 1 | -2/+2 | |
2018-12-31 | Remove unused HasHeaderMap (#5175) | Alexander | 7 | -50/+4 | |
It is updated by some readers, but never actually used. | |||||
2018-12-31 | Simplify/fix reading of `--metadata` values on command line. | John MacFarlane | 1 | -7/+8 | |
Previously we used HsYAML's decodeStrict to recognize boolean values (treating everything else as a string). This caused problems relating to hvr/HsYAML#7. We now just check for the recognized boolean values `true|True|TRUE|false|False|FALSE`, and avoid using HsYAML. Closes #5177. | |||||
2018-12-31 | Replace read with safeRead (#5186) | Mauro Bieg | 3 | -13/+18 | |
closes #5180 | |||||
2018-12-31 | Allow '-' in filenames for custom lua writers. | John MacFarlane | 1 | -2/+3 | |
Closes #5187. | |||||
2018-12-31 | Removed obsolete and misleading comment. | John MacFarlane | 1 | -1/+0 | |
2018-12-28 | Org writer: preserve line-numbering for example and code blocks. | leungbk | 1 | -3/+9 | |
2018-12-18 | Decompress .svgz when converting to "data:" URI | Alexander Krotov | 1 | -1/+1 | |
Address #5163 | |||||
2018-12-17 | LaTeX reader: Support `\DeclareMathOperator`. | John MacFarlane | 1 | -1/+11 | |
Closes #5149. | |||||
2018-12-17 | Replace read with safeRead. Closes #5162. | John MacFarlane | 3 | -11/+8 | |
2018-12-17 | Parsing: use safeRead instead of read. | John MacFarlane | 1 | -1/+1 | |
2018-12-17 | HTML reader: handle empty start attribute. | John MacFarlane | 1 | -4/+2 | |
See #5162. | |||||
2018-12-13 | Man/Ms writers: don't escape `-` as `\-`. | John MacFarlane | 1 | -1/+0 | |
For discussion see https://groups.google.com/forum/#!msg/pandoc-discuss/B-oiCXcQOVo/WO-BXVpICAAJ The `\-` gets rendered in HTML and PDF as a unicode minus sign. | |||||
2018-12-12 | ICML writer: support custom-styles (#5137) | Mauro Bieg | 1 | -3/+10 | |
see #2106 | |||||
2018-12-10 | Docx: handle level overrides. | Jesse Rosenthal | 1 | -6/+17 | |
There can be overrides for the definitions of certain levels in numbering definitions. This implements that behavior. Closes: #5134 | |||||
2018-12-10 | Docx: add a levelOverride type. | Jesse Rosenthal | 1 | -3/+20 | |
2018-12-10 | Docx writer: Make Level into a real type. | Jesse Rosenthal | 2 | -4/+6 | |
It had previously been an alias for a tuple. | |||||
2018-12-10 | ICML writer: support unnumbered headers | mb21 | 1 | -2/+5 | |
closes #5140 | |||||
2018-12-05 | RST writer: don't wrap simple table header lines. | John MacFarlane | 1 | -1/+1 | |
Closes #5128. | |||||
2018-12-04 | Strip out illegal XML characters in escapeXMLString. | John MacFarlane | 1 | -1/+6 | |
Closes #5119. | |||||
2018-12-03 | Markdown writer: include needed whitespace after HTML figure. | John MacFarlane | 1 | -1/+1 | |
We use HTML for a figure in markdown dialects that can't represent it natively. Closes #5121. | |||||
2018-11-30 | Fix warnings in Text.Pandoc.Process. | John MacFarlane | 1 | -2/+5 | |
2018-11-30 | Text.Pandoc.Process: update pipeProcess | Albert Krewinkel | 1 | -31/+60 | |
The implementation of `pipeProcess` was rewritten to fix sporadic failures caused by prematurely closed pipes. | |||||
2018-11-29 | Improve error message for UTF-8 decoding errors. | John MacFarlane | 1 | -6/+17 | |
Give the filename and the byte offset. Closes #4765. | |||||
2018-11-29 | Add PandocUTF8DecodingError constructor for PandocError. | John MacFarlane | 1 | -0/+7 | |
[API change] | |||||
2018-11-29 | Man reader: use mapLeft from Shared. | John MacFarlane | 1 | -6/+1 | |
2018-11-29 | Changed types of writeJSON and readJSON. | John MacFarlane | 2 | -11/+10 | |
Previously they were not monadic; we now have them run in an instance of the Pandoc monad, like the other readers and writers. [API change] |