aboutsummaryrefslogtreecommitdiff
path: root/tests/writer.dokuwiki
AgeCommit message (Collapse)AuthorFilesLines
2014-07-13Use raw HTML for complex block quotes.John MacFarlane1-2/+3
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-19/+35
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-30/+0
2014-07-13DokuWiki writer: Updated tests.John MacFarlane1-51/+69
2014-07-08DokuWiki writer: Remove broken formatting from headings (#1398)Clare Macrae1-3/+3
2014-07-07Updated dokuwiki tests for latest changes to testsuite.native.John MacFarlane1-35/+35
2014-07-02DokuWiki writer: Retain unknown RawBlock and RawInline textClare Macrae1-2/+6
This added \cite and \begin latex to the testuite output.
2014-07-02DokuWiki output: Implement blockquotes properly Clare Macrae1-12/+12
TODO Also implement nested blockquotes.
2014-07-01Remove stray <div> and </div> from DokuWiki output (#386)Clare Macrae1-18/+9
2014-07-01Improved HTML Blocks in DokuWiki output (#386)Clare Macrae1-7/+14
For example, this fixes the display of a broken table, and it also fixes the various HTML horizontal rules.
2014-06-29Updated DokuWiki code and tests to work with latest code from jgm.Clare Macrae1-9/+3
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-9/+12
2013-08-23Added failing test for definition list output in dokuwiki writer (#386)claremacrae1-45/+19
2013-08-19Bullet and ordered lists now always simple in dokuwiki writer (#386)claremacrae1-28/+15
2013-08-19Removed unnecessary line-break after hard break in dokuwiki writer (#386)claremacrae1-2/+1
2013-08-18Treat inline code blocks like <code> instead of <tt> in dokuwiki writer (#386)claremacrae1-6/+6
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-17Fixed inlined code in dokuwiki writer (#386)claremacrae1-6/+6
2013-08-17Don't add entities in <code> blocks in dokuwiki writer (#386)claremacrae1-10/+10
2013-08-17Implement <code> blocks in dokuwiki writer (#386)claremacrae1-15/+15
2013-08-06Implement strikeout in dokuwiki writer (#386)claremacrae1-1/+1
2013-07-28Implement footnotes in dokuwiki writer (#386)claremacrae1-9/+7
2013-07-28Removed incorrect entity conversion in dokuwiki writer (#386)claremacrae1-8/+8
2013-07-28Implemented linebreaks in dokuwiki writer (#386)claremacrae1-1/+2
2013-07-26Convert bullet and numbered lists in dokuwiki writer (#386)Clare Macrae1-23/+23
2013-07-26Corrected part of the failing test for lists in dokuwiki writer (#386)Clare Macrae1-2/+2
2013-07-15Add failing test for bullet and numbered lists in dokuwiki writer (#386)Clare Macrae1-52/+52
2013-07-15Implement conversion of images in dokuwiki writer (#386)Clare Macrae1-2/+2
2013-07-15Weak implementation of hyperlinks for dokuwiki (#386)Clare Macrae1-6/+6
TODO Simplify the code
2013-07-14Implemented horizontal rule for dokuwiki (#386)Clare Macrae1-13/+13
2013-07-14Implemented Emphasis (italic) and Strong (bold) for dokuwiki (#386)Clare Macrae1-18/+18
2013-07-14Implemented correct output of dokuwiki (#386)Clare Macrae1-31/+31
2013-07-14Initial work to create dokuwiki writer (#386)Clare Macrae1-0/+653
In this first version, all dokuwiki files are straight copies of the media wiki counterparts.