From a43e5983da90419c5b6c01fe03febc3797c2d9aa Mon Sep 17 00:00:00 2001 From: Clare Macrae Date: Sun, 14 Jul 2013 14:24:20 +0100 Subject: Implemented correct output of dokuwiki (#386) --- tests/writer.dokuwiki | 62 +++++++++++++++++++++++++-------------------------- 1 file changed, 31 insertions(+), 31 deletions(-) (limited to 'tests') diff --git a/tests/writer.dokuwiki b/tests/writer.dokuwiki index 7eccc44e8..013c629d8 100644 --- a/tests/writer.dokuwiki +++ b/tests/writer.dokuwiki @@ -3,32 +3,32 @@ This is a set of tests for pandoc. Most of them are adapted from John Gruber’s ----- -= Headers = +====== Headers ====== -== Level 2 with an [[url|embedded link]] == +===== Level 2 with an [[url|embedded link]] ===== -=== Level 3 with ''emphasis'' === +==== Level 3 with ''emphasis'' ==== -==== Level 4 ==== +=== Level 4 === -===== Level 5 ===== +== Level 5 == -= Level 1 = +====== Level 1 ====== -== Level 2 with ''emphasis'' == +===== Level 2 with ''emphasis'' ===== -=== Level 3 === +==== Level 3 ==== with no blank line -== Level 2 == +===== Level 2 ===== with no blank line ----- -= Paragraphs = +====== Paragraphs ====== Here’s a regular paragraph. @@ -41,7 +41,7 @@ There should be a hard line break
here. ----- -= Block Quotes = +====== Block Quotes ====== E-mail style: @@ -70,7 +70,7 @@ And a following paragraph. ----- -= Code Blocks = +====== Code Blocks ====== Code: @@ -89,9 +89,9 @@ These should not be escaped: \$ \\ \> \[ \{ ----- -= Lists = +====== Lists ====== -== Unordered == +===== Unordered ===== Asterisks tight: @@ -129,7 +129,7 @@ Minuses loose: * Minus 2 * Minus 3 -== Ordered == +===== Ordered ===== Tight: @@ -163,7 +163,7 @@ Multiple paragraphs:
  • Item 2.

  • Item 3.

  • -== Nested == +===== Nested ===== * Tab ** Tab @@ -187,14 +187,14 @@ Same thing but with paragraphs: #* Foe # Third -== Tabs and spaces == +===== Tabs and spaces ===== * this is a list item indented with tabs * this is a list item indented with spaces ** this is an example list item indented with tabs ** this is an example list item indented with spaces -== Fancy list markers == +===== Fancy list markers =====
    1. begins with 2
    2. @@ -238,7 +238,7 @@ B. Williams ----- -= Definition Lists = +====== Definition Lists ====== Tight using spaces: @@ -306,7 +306,7 @@ Blank line after term, indented marker, alternate markers: ;# sublist ;# sublist -= HTML Blocks = +====== HTML Blocks ====== Simple block on one line: @@ -416,7 +416,7 @@ Hr’s: ----- -= Inline Markup = +====== Inline Markup ====== This is ''emphasized'', and so ''is this''. @@ -445,7 +445,7 @@ These should not be superscripts or subscripts, because of the unescaped spaces: ----- -= Smart quotes, ellipses, dashes = +====== Smart quotes, ellipses, dashes ====== “Hello,” said the spider. “‘Shelob’ is my name.” @@ -466,7 +466,7 @@ Ellipses…and…and…. ----- -= LaTeX = +====== LaTeX ====== * * 2+2=4 @@ -490,7 +490,7 @@ Here’s a LaTeX table: ----- -= Special Characters = +====== Special Characters ====== Here is some unicode: @@ -545,9 +545,9 @@ Minus: - ----- -= Links = +====== Links ====== -== Explicit == +===== Explicit ===== Just a [[url/|URL]]. @@ -567,7 +567,7 @@ Just a [[url/|URL]]. [[|Empty]]. -== Reference == +===== Reference ===== Foo [[url/|bar]]. @@ -592,7 +592,7 @@ Foo [[url/|bar]]. Foo [[url/|biz]]. -== With ampersands == +===== With ampersands ===== Here’s a [http://example.com/?foo=1&bar=2 link with an ampersand in the URL]. @@ -602,7 +602,7 @@ Here’s an [[script?foo=1&bar=2|inline link]]. Here’s an [[script?foo=1&bar=2|inline link in pointy braces]]. -== Autolinks == +===== Autolinks ===== With an ampersand: http://example.com/?foo=1&bar=2 @@ -620,7 +620,7 @@ Auto-links should not occur here: <http://example.com/> ----- -= Images = +====== Images ====== From “Voyage dans la Lune” by Georges Melies (1902): @@ -631,7 +631,7 @@ Here is a movie [[Image:movie.jpg|movie]] icon. ----- -= Footnotes = +====== Footnotes ====== Here is a footnote reference,Here is the footnote. It can go anywhere after the footnote reference. It need not be placed at the end of the document. and another.Here’s the long note. This one contains multiple blocks. -- cgit v1.2.3