local $/; require 't/runtests.pl'; runtests( data => , dialect => 'DokuWiki', wiki_uri => 'http://www.test.com/wiki:', camel_case => 1 ); close DATA; __DATA__ table __H__
thing
__W__ | thing | __NEXT__ table (multi-row) __H__
one
two
__W__ | one | | two | __NEXT__ table (full 1) __H__
Table with alignment
rightcenterleft
leftrightcenter
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
__W__ ^ Table with alignment ^^^ | right | center | left | | left | right | center | | xxxxxxxxxxxx | xxxxxxxxxxxx | xxxxxxxxxxxx | __NEXT__ table (full 2) __H__
Heading 1Heading 2Heading 3
Row 1 Col 1Row 1 Col 2Row 1 Col 3
Row 2 Col 1some colspan (note the double pipe)
Row 3 Col 1Row 2 Col 2Row 2 Col 3
__W__ ^ Heading 1 ^ Heading 2 ^ Heading 3 ^ | Row 1 Col 1 | Row 1 Col 2 | Row 1 Col 3 | | Row 2 Col 1 | some colspan (note the double pipe) || | Row 3 Col 1 | Row 2 Col 2 | Row 2 Col 3 | __NEXT__ table (full 3) __H__
namefoo
age3.14
oddtrue
__W__ ^ name | foo | ^ age | 3.14 | ^ odd | true | __NEXT__ h1 __H__

one

__W__ ====== one ====== __NEXT__ h2 __H__

two

__W__ ===== two ===== __NEXT__ h3 __H__

three

__W__ ==== three ==== __NEXT__ h4 __H__

four

__W__ === four === __NEXT__ h5 __H__
five
__W__ == five == __NEXT__ h6 __H__
six
__W__ == six == __NEXT__ external image __H__ __W__ {{http://wiki.splitbrain.org/fetch.php?w=&h=&cache=cache&media=wiki:dokuwiki-128.png}} __NEXT__ external image (resize width) __H__ __W__ {{http://wiki.splitbrain.org/fetch.php?w=&h=&cache=cache&media=wiki:dokuwiki-128.png?25}} __NEXT__ external image (resize width and height) __H__ __W__ {{http://wiki.splitbrain.org/fetch.php?w=&h=&cache=cache&media=wiki:dokuwiki-128.png?25x30}} __NEXT__ external image align (left) __H__ __W__ {{http://wiki.splitbrain.org/fetch.php?w=&h=&cache=cache&media=wiki:dokuwiki-128.png }} __NEXT__ external image align (right) __H__ __W__ {{ http://wiki.splitbrain.org/fetch.php?w=&h=&cache=cache&media=wiki:dokuwiki-128.png}} __NEXT__ external image align (center) __H__ __W__ {{ http://wiki.splitbrain.org/fetch.php?w=&h=&cache=cache&media=wiki:dokuwiki-128.png }} __NEXT__ external image align (center w/ caption) __H__ Caption __W__ {{ http://wiki.splitbrain.org/fetch.php?w=&h=&cache=cache&media=wiki:dokuwiki-128.png |Caption}} __NEXT__ blockquote __H__
one
__W__ > one __NEXT__ blockquote (nested) __H__
two
__W__ >> two __NEXT__ blockquote (multi-line) __H__
span single line
__W__ > span single line __NEXT__ blockquote (nested multi-line) __H__
span single line
__W__ >> span single line __NEXT__ blockquote (markup) __H__
with fancy markup that spans multiple lines
__W__ > **with** //fancy markup// that __spans multiple lines__ __NEXT__ blockquote (nested continuous) __H__
one
two
__W__ > one >> two __NEXT__ blockquote (doubly nested continuous) __H__
one
two
three
__W__ > one >> two >>> three __NEXT__ blockquote (linebreak) __H__
line
break
__W__ > line\\ break __NEXT__ blockquote (full) __H__
No we shouldn't
Well, I say we should
Really?
Yes!
Then lets do it!
__W__ > No we shouldn't >> Well, I say we should > Really? >> Yes! >>> Then lets do it! __NEXT__ internal link (lcase) __H__ test __W__ [[test]] __NEXT__ internal link (ucase) __H__ TEST __W__ [[TEST]] __NEXT__ internal link (camel case) __H__ tEsT __W__ tEsT __NEXT__ external link (anonymous) __H__ http://www.test.com __W__ http://www.test.com __NEXT__ external link (named) __H__ test __W__ [[http://www.test.com|test]] __NEXT__ external link (fragment) __H__ this Section __W__ [[syntax#internal|this Section]] __NEXT__ linebreak __H__ line
break __W__ line\\ break __NEXT__ bold __H__ bold text __W__ **bold text** __NEXT__ strong __H__ strong text __W__ **strong text** __NEXT__ italic __H__ italic text __W__ //italic text// __NEXT__ emphasized __H__ em text __W__ //em text// __NEXT__ ul __H__ __W__ * one * two * three __NEXT__ ul (nested) __H__ __W__ * 1 * 1.a * 1.b * 2 * 3 __NEXT__ ol __H__
  1. one
  2. two
  3. three
__W__ - one - two - three __NEXT__ ol (nested) __H__
  1. 1
    1. 1.a
    2. 1.b
  2. 2
  3. 3
__W__ - 1 - 1.a - 1.b - 2 - 3 __NEXT__ ul/ol combo __H__
  1. 1
    • 1.a
    • 1.b
  2. 2
  3. 3
__W__ - 1 * 1.a * 1.b - 2 - 3 __NEXT__ ol/ul combo __H__ __W__ * 1 - 1.a - 1.b * 2 * 3