aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Writers/DokuWiki.hs
AgeCommit message (Collapse)AuthorFilesLines
2014-07-13Use raw HTML for complex block quotes.John MacFarlane1-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-13DokuWiki writer: Use raw HTML for complex lists...John MacFarlane1-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-13DokuWiki writer: Normalize to collapse adjacent raw HTML blocks.John MacFarlane1-1/+1
2014-07-13DokuWiki writer: More tweaks to email links. (#1398)John MacFarlane1-4/+3
2014-07-13DokuWiki writer: Use pointy brackets for email links.John MacFarlane1-0/+2
(#1398)
2014-07-13Dokuwiki writer: More idiomatic code for escaping.John MacFarlane1-2/+4
2014-07-13DokuWiki writer: More raw HTML fixes. (#1398)John MacFarlane1-2/+4
* Use uppercase HTML tags for block-level content, lowercase for inline. * Newline before closing HTML tag.
2014-07-13DokuWiki writer: Fix raw inlines and blocks.John MacFarlane1-6/+6
* mediawiki > dokuwiki * ignore raw content other than html or dokuwiki. (#1398)
2014-07-13Merge branch 'claremacrae-dokuwiki'.John MacFarlane1-2/+4
Use removeFormatting from Shared instead of the custom unfancy function.
2014-07-08DokuWiki writer: Remove broken formatting from headings (#1398)Clare Macrae1-1/+11
2014-07-08Put myself as maintainer (#1398)Clare Macrae1-1/+1
2014-07-02DokuWiki writer: Span no longer swallows textClare Macrae1-6/+2
2014-07-02DokuWiki writer: Remove todos that I have already done.Clare Macrae1-2/+0
2014-07-02DokuWiki writer: Retain unknown RawBlock and RawInline textClare Macrae1-2/+2
This added \cite and \begin latex to the testuite output.
2014-07-02DokuWiki output: Implement blockquotes properly Clare Macrae1-2/+2
TODO Also implement nested blockquotes.
2014-07-02DokuWiki writer: remove unused codeClare Macrae1-25/+0
2014-07-01Remove stray <div> and </div> from DokuWiki output (#386)Clare Macrae1-5/+2
2014-07-01Improved HTML Blocks in DokuWiki output (#386)Clare Macrae1-1/+1
For example, this fixes the display of a broken table, and it also fixes the various HTML horizontal rules.
2014-06-30Disable warnings about unused parameters.Clare Macrae1-2/+2
2014-06-29Updated Copyright year, for consistency with MediaWiki.hsClare Macrae1-2/+2
2014-06-29Updated DokuWiki code and tests to work with latest code from jgm.Clare Macrae1-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-28Implement definition lists in dokuwiki writer (#386) - credit: James Smaldon claremacrae1-31/+24
2013-08-19Fix some warnings in dokuwiki writer (#386)claremacrae1-2/+2
2013-08-19Bullet and ordered lists now always simple in dokuwiki writer (#386)claremacrae1-3/+2
2013-08-19Removed unnecessary line-break after hard break in dokuwiki writer (#386)claremacrae1-1/+1
2013-08-18Stop plain text ** and __ becoming formatting in dokuwiki writer (#386)claremacrae1-1/+1
2013-08-18Stop plain text // becoming an italic marker in dokuwiki writer (#386)claremacrae1-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-18Treat inline code blocks like <code> instead of <tt> in dokuwiki writer (#386)claremacrae1-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-17Nasty hack to stop C comments in inline code becoming italics in dokuwiki ↵claremacrae1-1/+6
writer (#386)
2013-08-17Fixed inlined code in dokuwiki writer (#386)claremacrae1-6/+1
2013-08-17Don't add entities in <code> blocks in dokuwiki writer (#386)claremacrae1-1/+1
2013-08-17Implement <code> blocks in dokuwiki writer (#386)claremacrae1-2/+1
2013-08-17Implement table headings in dokuwiki writer (#386)claremacrae1-2/+19
2013-08-11Initial implementation of tables in dokuwiki writer (#386)claremacrae1-22/+17
Todo: alignment, and headings
2013-08-06Implement strikeout in dokuwiki writer (#386)claremacrae1-1/+1
2013-07-28Implement footnotes in dokuwiki writer (#386)claremacrae1-3/+3
2013-07-28Removed incorrect entity conversion in dokuwiki writer (#386)claremacrae1-4/+3
2013-07-28Implemented linebreaks in dokuwiki writer (#386)claremacrae1-1/+1
2013-07-26Added another todo - dokuwiki writer (#386)claremacrae1-0/+1
2013-07-26Added some todos to dokuwiki writer (#386)Clare Macrae1-0/+15
2013-07-26Convert bullet and numbered lists in dokuwiki writer (#386)Clare Macrae1-6/+25
2013-07-15Implement conversion of images in dokuwiki writer (#386)Clare Macrae1-4/+5
2013-07-15Weak implementation of hyperlinks for dokuwiki (#386)Clare Macrae1-1/+1
TODO Simplify the code
2013-07-14Implemented horizontal rule for dokuwiki (#386)Clare Macrae1-1/+1
2013-07-14Implemented Emphasis (italic) and Strong (bold) for dokuwiki (#386)Clare Macrae1-2/+2
2013-07-14Implemented correct output of dokuwiki (#386)Clare Macrae1-1/+1
2013-07-14Initial work to create dokuwiki writer (#386)Clare Macrae1-0/+407
In this first version, all dokuwiki files are straight copies of the media wiki counterparts.