Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2016-03-08 | DokuWiki writer: use $$ for display math. | John MacFarlane | 1 | -1/+4 | |
2015-12-11 | Implemented SoftBreak and new `--wrap` option. | John MacFarlane | 1 | -1/+8 | |
Added threefold wrapping option. * Command line option: deprecated `--no-wrap`, added `--wrap=[auto|none|preserve]` * Added WrapOption, exported from Text.Pandoc.Options * Changed type of writerWrapText in WriterOptions from Bool to WrapOption. * Modified Text.Pandoc.Shared functions for SoftBreak. * Supported SoftBreak in writers. * Updated tests. * Updated README. Closes #1701. | |||||
2015-11-19 | Merge branch 'new-image-attributes' of https://github.com/mb21/pandoc into ↵ | John MacFarlane | 1 | -6/+18 | |
mb21-new-image-attributes * Bumped version to 1.16. * Added Attr field to Link and Image. * Added `common_link_attributes` extension. * Updated readers for link attributes. * Updated writers for link attributes. * Updated tests * Updated stack.yaml to build against unreleased versions of pandoc-types and texmath. * Fixed various compiler warnings. Closes #261. TODO: * Relative (percentage) image widths in docx writer. * ODT/OpenDocument writer (untested, same issue about percentage widths). * Update pandoc-citeproc. | |||||
2015-11-09 | Revert "Use -XNoImplicitPrelude and 'import Prelude' explicitly." | John MacFarlane | 1 | -1/+0 | |
This reverts commit c423dbb5a34c2d1195020e0f0ca3aae883d0749b. | |||||
2015-11-08 | Use -XNoImplicitPrelude and 'import Prelude' explicitly. | John MacFarlane | 1 | -0/+1 | |
This is needed for ghci to work with pandoc, given that we now use a custom prelude. Closes #2503. | |||||
2015-10-14 | Use custom Prelude to avoid compiler warnings. | John MacFarlane | 1 | -1/+0 | |
- The (non-exported) prelude is in prelude/Prelude.hs. - It exports Monoid and Applicative, like base 4.8 prelude, but works with older base versions. - It exports (<>) for mappend. - It hides 'catch' on older base versions. This allows us to remove many imports of Data.Monoid and Control.Applicative, and remove Text.Pandoc.Compat.Monoid. It should allow us to use -Wall again for ghc 7.10. | |||||
2015-08-07 | Updated readers, writers and README for link attribute | mb21 | 1 | -2/+2 | |
2015-08-07 | Updated readers and writers for new image attribute parameter. | John MacFarlane | 1 | -4/+16 | |
(mb21) | |||||
2015-07-13 | DokuWiki: write $..$ instead of <math>..</math> | Tiziano Müller | 1 | -1/+1 | |
MathJax seems currently to be the only maintained math rendering extension for DokuWiki and it uses $..$ instead of <math>..</math>. | |||||
2015-06-07 | DokuWiki writer: Use proper `<code>` tags for code blocks. | John MacFarlane | 1 | -4/+4 | |
Closes #2213. | |||||
2015-04-26 | Updated copyright notices to -2015. Closes #2111. | John MacFarlane | 1 | -2/+2 | |
2015-02-04 | Append newline to the LineBreak of various writers | Tim Lin | 1 | -1/+1 | |
This change improves output formatting of content with a large amount of force line breaks, such as line-blocks. The following writers are affected: * Dokuwiki * HTML * EPUB (via HTML) * LaTeX * MediaWiki * OpenDocument * Texinfo This commit resolves #1924 | |||||
2014-11-09 | DokuWiki writer: fix external images | Timothy Humphries | 1 | -2/+6 | |
Handles #1739. Preface relative links with ":", absolute URIs without. | |||||
2014-11-04 | DokuWiki writer: Better handling of block quotes. | John MacFarlane | 1 | -4/+2 | |
This change ensures that multiple paragraph blockquotes are rendered using native `>` rather than as HTML. Closes #1738. | |||||
2014-08-30 | DokuWiki writer: Make tables prettier by aligning columns. | John MacFarlane | 1 | -40/+22 | |
Also cleaned up crufty code and added tests. | |||||
2014-08-30 | DokuWiki writer: Handle table cell alignments. | John MacFarlane | 1 | -27/+19 | |
Closes #1566. | |||||
2014-08-30 | DokuWiki writer: Use backslash newlines in table cells. | Jesse Rosenthal | 1 | -10/+36 | |
Write out strings in table cells with backslash linebreaks in place of newlines. We also want to remove the first two spaces of an indent in lists. | |||||
2014-08-27 | DokuWiki Writer: Refactor to use Reader monad | Matthew Pickering | 1 | -47/+56 | |
2014-08-27 | DokuWiki Writer: Hlint cleanup | Matthew Pickering | 1 | -27/+27 | |
2014-08-27 | DokuWiki Writer: Qualified all imports | Matthew Pickering | 1 | -5/+10 | |
2014-07-13 | Use raw HTML for complex block quotes. | John MacFarlane | 1 | -1/+7 | |
As far as I can see, dokuwiki markup is pretty limited in what can go in a `>` block quote: just a single line of paragraph text. (#1398) | |||||
2014-07-13 | DokuWiki writer: Use raw HTML for complex lists... | John MacFarlane | 1 | -13/+40 | |
as in the mediawiki writer. The dokuwiki markup isn't able to handle multiple block-level items within a list item, except in a few special cases (e.g. code blocks, and these must be started on the same line as the preceding paragraph). So we fall back to raw HTML for these. Perhaps there is a better solution. We can "fake" multiple paragraphs within list items using hard line breaks (`\\`), but we must keep everything on one line. (#1398) | |||||
2014-07-13 | DokuWiki writer: Normalize to collapse adjacent raw HTML blocks. | John MacFarlane | 1 | -1/+1 | |
2014-07-13 | DokuWiki writer: More tweaks to email links. (#1398) | John MacFarlane | 1 | -4/+3 | |
2014-07-13 | DokuWiki writer: Use pointy brackets for email links. | John MacFarlane | 1 | -0/+2 | |
(#1398) | |||||
2014-07-13 | Dokuwiki writer: More idiomatic code for escaping. | John MacFarlane | 1 | -2/+4 | |
2014-07-13 | DokuWiki writer: More raw HTML fixes. (#1398) | John MacFarlane | 1 | -2/+4 | |
* Use uppercase HTML tags for block-level content, lowercase for inline. * Newline before closing HTML tag. | |||||
2014-07-13 | DokuWiki writer: Fix raw inlines and blocks. | John MacFarlane | 1 | -6/+6 | |
* mediawiki > dokuwiki * ignore raw content other than html or dokuwiki. (#1398) | |||||
2014-07-13 | Merge branch 'claremacrae-dokuwiki'. | John MacFarlane | 1 | -2/+4 | |
Use removeFormatting from Shared instead of the custom unfancy function. | |||||
2014-07-08 | DokuWiki writer: Remove broken formatting from headings (#1398) | Clare Macrae | 1 | -1/+11 | |
2014-07-08 | Put myself as maintainer (#1398) | Clare Macrae | 1 | -1/+1 | |
2014-07-02 | DokuWiki writer: Span no longer swallows text | Clare Macrae | 1 | -6/+2 | |
2014-07-02 | DokuWiki writer: Remove todos that I have already done. | Clare Macrae | 1 | -2/+0 | |
2014-07-02 | DokuWiki writer: Retain unknown RawBlock and RawInline text | Clare Macrae | 1 | -2/+2 | |
This added \cite and \begin latex to the testuite output. | |||||
2014-07-02 | DokuWiki output: Implement blockquotes properly | Clare Macrae | 1 | -2/+2 | |
TODO Also implement nested blockquotes. | |||||
2014-07-02 | DokuWiki writer: remove unused code | Clare Macrae | 1 | -25/+0 | |
2014-07-01 | Remove stray <div> and </div> from DokuWiki output (#386) | Clare Macrae | 1 | -5/+2 | |
2014-07-01 | Improved HTML Blocks in DokuWiki output (#386) | Clare Macrae | 1 | -1/+1 | |
For example, this fixes the display of a broken table, and it also fixes the various HTML horizontal rules. | |||||
2014-06-30 | Disable warnings about unused parameters. | Clare Macrae | 1 | -2/+2 | |
2014-06-29 | Updated Copyright year, for consistency with MediaWiki.hs | Clare Macrae | 1 | -2/+2 | |
2014-06-29 | Updated DokuWiki code and tests to work with latest code from jgm. | Clare Macrae | 1 | -6/+22 | |
The new code was got from inspecting changes in MediaWiki.hs This slightly changes the output of Div blocks, but I'm not convinced the original behaviour was really correct anyway. The code for handling Span does nothing for now, until I can work out the desired behaviour, and add tests for it. | |||||
2013-08-28 | Implement definition lists in dokuwiki writer (#386) - credit: James Smaldon | claremacrae | 1 | -31/+24 | |
2013-08-19 | Fix some warnings in dokuwiki writer (#386) | claremacrae | 1 | -2/+2 | |
2013-08-19 | Bullet and ordered lists now always simple in dokuwiki writer (#386) | claremacrae | 1 | -3/+2 | |
2013-08-19 | Removed unnecessary line-break after hard break in dokuwiki writer (#386) | claremacrae | 1 | -1/+1 | |
2013-08-18 | Stop plain text ** and __ becoming formatting in dokuwiki writer (#386) | claremacrae | 1 | -1/+1 | |
2013-08-18 | Stop plain text // becoming an italic marker in dokuwiki writer (#386) | claremacrae | 1 | -3/+2 | |
When the original document had text containing //, this was previously included, unchanged, in the dokuwiki output, and this interacted badly with later, intended, formating text. | |||||
2013-08-18 | Treat inline code blocks like <code> instead of <tt> in dokuwiki writer (#386) | claremacrae | 1 | -1/+10 | |
Done because I noticed that in the Autolinks section of writer.dokuwiki, the URL in inlined code was getting auto-linked, when it wasn't supposed to. This also meant that any inline code examples that had text that looked like dokuwiki syntax could break the formatting of later text. | |||||
2013-08-17 | Nasty hack to stop C comments in inline code becoming italics in dokuwiki ↵ | claremacrae | 1 | -1/+6 | |
writer (#386) | |||||
2013-08-17 | Fixed inlined code in dokuwiki writer (#386) | claremacrae | 1 | -6/+1 | |