diff options
author | Clare Macrae <clare.macrae@googlemail.com> | 2013-07-14 14:24:20 +0100 |
---|---|---|
committer | Clare Macrae <clare.macrae@googlemail.com> | 2013-07-14 14:24:20 +0100 |
commit | a43e5983da90419c5b6c01fe03febc3797c2d9aa (patch) | |
tree | c69a31b7c7194581a8a661b848ee4c213c1d6037 /tests | |
parent | 7eded47bcdd10d1e32125121c7b84f952b1a326e (diff) | |
download | pandoc-a43e5983da90419c5b6c01fe03febc3797c2d9aa.tar.gz |
Implemented correct output of dokuwiki (#386)
Diffstat (limited to 'tests')
-rw-r--r-- | tests/writer.dokuwiki | 62 |
1 files changed, 31 insertions, 31 deletions
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<br />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: \$ \\ \> \[ \{</pre> ----- -= 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: <li><p>Item 2.</p></li> <li><p>Item 3.</p></li></ol> -== 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 ===== <ol start="2" style="list-style-type: decimal;"> <li>begins with 2</li> @@ -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 ====== * * <math>2+2=4</math> @@ -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: <code><http://example.com/></code> ----- -= 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,<ref>Here is the footnote. It can go anywhere after the footnote reference. It need not be placed at the end of the document. </ref> and another.<ref>Here’s the long note. This one contains multiple blocks. |