From 573bd1b61b58e66c1e0ecfb4e74928a9d9d27daf Mon Sep 17 00:00:00 2001 From: claremacrae Date: Sat, 17 Aug 2013 11:20:51 +0100 Subject: Implement blocks in dokuwiki writer (#386) --- tests/writer.dokuwiki | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'tests/writer.dokuwiki') diff --git a/tests/writer.dokuwiki b/tests/writer.dokuwiki index 9063ab917..b9a8a3c05 100644 --- a/tests/writer.dokuwiki +++ b/tests/writer.dokuwiki @@ -50,9 +50,9 @@ E-mail style:
Code in a block quote: -
sub status {
+sub status {
     print "working";
-}
+} A list: - item one @@ -75,18 +75,18 @@ And a following paragraph. Code: -
---- (should be four hyphens)
+---- (should be four hyphens)
 
 sub status {
     print "working";
 }
 
-this code block is indented by one tab
+this code block is indented by one tab And: -
    this code block is indented by two tabs
+    this code block is indented by two tabs
 
-These should not be escaped:  \$ \\ \> \[ \{
+These should not be escaped: \$ \\ \> \[ \{ ---- @@ -276,7 +276,7 @@ Multiple blocks with italics:

contains seeds, crisp, pleasant to taste

//orange//

orange fruit

-
{ orange code block }
+{ orange code block }

orange block quote

Multiple definitions, tight: @@ -352,12 +352,12 @@ foo This should be a code block, though: -
<div>
+<div>
     foo
-</div>
+</div> As should this: -
<div>foo</div>
+<div>foo</div> Now, nested:
@@ -386,14 +386,14 @@ Blah Code block: -
<!-- Comment -->
+<!-- Comment --> Just plain comment, with trailing spaces on the line: Code: -
<hr />
+<hr /> Hr’s:
@@ -588,7 +588,7 @@ Indented [[url|thrice]]. This should [not][] be a link. -
[not]: /url
+[not]: /url Foo [[url/|bar]]. Foo [[url/|biz]]. @@ -617,7 +617,7 @@ An e-mail address: [[mailto:nobody@nowhere.net|nobody@nowhere.net]]
Auto-links should not occur here: <http://example.com/> -
or here: <http://example.com/>
+or here: <http://example.com/> ---- @@ -639,7 +639,7 @@ Here is a footnote reference,((Here is the footnote. It can go anywhere after th Subsequent blocks are indented to show that they belong to the footnote (as with list items). -
  { <code> }
+ { <code> } If you want, you can indent every line, but you can also be lazy and just indent the first line of each block. )) This should //not// be a footnote reference, because it contains a space.[^my note] Here is an inline note.((This is //easier// to type. Inline notes may contain [[http://google.com|links]] and ] verbatim characters, as well as [bracketed text]. )) -- cgit v1.2.3