============================================================ Font styles ============================== Bold + italic markup This should be '''''bold and italic''''' ------------------------------

This should be bold and italic

------------------------------ ============================== Multiline bold italic markup (WikiCreole) **//bold italic (//not italic//) multiline//** ------------------------------

bold italic (not italic) multiline

------------------------------ ============================== Problematic markup: comma-separated list with a time + bold markup 23:59,'''test''',123 ------------------------------

23:59,test,123

------------------------------ ============================== Consecutive bold + italic markup '''''one''''', '''''two''''', '''''three''''', '''''four''''' ------------------------------

one, two, three, four

------------------------------ ============================== Underline + overstrike markup __~~underlineoversrike~~__ ------------------------------

underlineoversrike

------------------------------ ============================== Problematic markup: overlapping tags __~~overlapping__tags~~ ------------------------------

overlappingtags

------------------------------ ============================== Problematic markup: out of order close tags __~~outoforderclosetags__~~ ------------------------------

outoforderclosetags

------------------------------ ============================== Problematic markup: bold + missing close italic '''''bolditalic''' # Open italic should be closed before paragraph end ------------------------------

bolditalic # Open italic should be closed before paragraph end

------------------------------ ============================== Italic immediately followed by bold markup ''italic'''''bold''' ------------------------------

italicbold

------------------------------ ============================== Bold immediately followed by italic markup '''bold'''''italic'' ------------------------------

bolditalic

------------------------------ ============================== Multiline bold italic markup '''''bold italic multiline''''' ------------------------------

bold italic multiline

------------------------------ ------------------------------

bold
italic
multiline

============================== Problematic multiline bold italic markup '''''bold italic multiline without endtags ------------------------------

bold italic multiline without endtags

------------------------------ ============================== Super and subscript markup ^superscript^, ,,subscript,,, normal. ------------------------------

superscript, subscript, normal.

------------------------------ superscript, subscript, normal. ============================== Escaping markup !'''''foobar!''''' x !''foo!'' x !'''bar!''' x !__foo!__ x !~~bar!~~ x !,,boo!,, x !^baz!^ x ------------------------------

'''''foobar''''' x ''foo'' x '''bar''' x __foo__ x ~~bar~~ x ,,boo,, x ^baz^ x

------------------------------ ============================== Complex mixed verbatim markup {{{verbatim}}} {{{ {{{in `block` }}} `{{{this is verbatim}}}` and {{{`that` should also `be` verbatim}}} ------------------------------

verbatim

{{{in `block`

{{{this is verbatim}}} and `that` should also `be` verbatim

------------------------------ verbatim […] {{{this is verbatim}}} and `that` should also `be` verbatim ============================================================ Link Resolvers ============================== Link resolvers, short form link:1 Thing [link:1] Thing[link:2] ------------------------------

link:1

Thing 1 Thing2

------------------------------ ============================== Escaping links resolvers, short form !link:1 Thing ![link:1 number 1], CS![link:1], ![link:bar] ------------------------------

link:1 Thing [link:1 number 1], CS[link:1], [link:bar]

------------------------------ ============================== Link resolvers, alternative short form Thing ------------------------------

<link:1>

Thing<link:2 and (3)>

------------------------------ ============================== Escaping links resolvers, alternative short form ! ------------------------------

<link:1>

------------------------------ ============================== Link resolvers, long form with label [link:1 thing one], [http://www.edgewall.com/ edgewall] ------------------------------

thing one, edgewall

------------------------------ ============================== Link resolver SHREF_TARGET_LAST Add-on to link:123: Some change. link:1 This ticket is the first one link:123> link:123& see link:xü. ------------------------------

Add-on to link:123: Some change. link:1 This ticket is the first one link:123> link:123& see link:xü.

------------------------------ Add-on to link:123: Some change. link:1 This ticket is the first one link:123> link:123& see link:xü. ============================== Link resolver SHREF_TARGET_FIRST http://localhost/bugzilla/show_bug.cgi?id=1284 804 __Summary:__ see link:Überflüssigkeit ------------------------------

<bug>http://localhost/bugzilla/show_bug.cgi?id=1284</bug> 804 Summary: see link:Überflüssigkeit

------------------------------ ============================== Link resolver SHREF_TARGET_MIDDLE ||http://example.com/img.png||text|| ------------------------------
http://example.com/img.pngtext
------------------------------ ||http://example.com/img.png||text|| ============================== Link resolver, long form with quoting [link:WikiStart Foo] [http://www.edgewall.com/ Edgewall] link:"Foo Bar" link:"Foo Bar#baz" [link:"Foo Bar" Foo Bar] [link:"Foo Bar#baz" Foo Bar] [link:Argv "*argv[] versus **argv"] [link:test "test.txt", line 123] [link:pl/de %de] ------------------------------

Foo Edgewall

link:"Foo Bar" link:"Foo Bar#baz"

Foo Bar Foo Bar

*argv[] versus **argv

"test.txt", line 123

%de

------------------------------ ============================== Link resolver in markup '''link:1''', ''link:1'', ~~link:1~~, __link:1__ ------------------------------

link:1, link:1, link:1, link:1

------------------------------ ============================== Link resolver, quoting of target link:1 link:12 link:123 link:'1' link:'12' link:'123' link:"1" link:"12" link:"123" ------------------------------

link:1 link:12 link:123 link:'1' link:'12' link:'123' link:"1" link:"12" link:"123"

------------------------------ ============================== Link resolver look alike, quoting of target nolink:"" ------------------------------

nolink:"<blink>"

------------------------------ ============================== Bracketed links See ------------------------------

See <http://en.wikipedia.org/wiki/Mornington_Crescent_(game)>

------------------------------ ============================================================ Other Links ============================== Relative links Relative links are supported: [../parent See above] Note: see wikisyntax tests for other parent tests [./sibling See next] [./sibling#index See next (index)] [./sibling?version=1 See next (v1)] [... nothing to see] [...] [//docs See documentation] [//images/logo.png Our logo] [/] [/?param=value#anchor] [/newticket?component=test new ticket] [#title] [#title see Title] ------------------------------

Relative links are supported: See above? Note: see wikisyntax tests for other parent tests See next? See next (index)? See next (v1)? [... nothing to see] [...] See documentation Our logo / / new ticket #title see Title

------------------------------ ============================== Relative links (WikiCreole style) Relative links are supported: [[../parent|See above]] Note: see wikisyntax tests for other parent tests [[./sibling|See next]] [[...|nothing to see]] [[...]] [[//docs|See documentation]] [[//images/logo.png|Our logo]] [[/]] [[/?param=value#anchor]] [[/newticket?component=test|new ticket]] [[#title]] [[#title|see Title]] ------------------------------

Relative links are supported: See above? Note: see wikisyntax tests for other parent tests See next? nothing to see? ...? See documentation Our logo / / new ticket #title see Title

------------------------------ ============================== Wiki anchors This is the [=#init] initialization routine: ... Look for [=#extra ''additional explanations''] here. ------------------------------

This is the initialization routine: ... Look for additional explanations here.

------------------------------ ============================== Wiki anchors (WikiCreole style) This is the [[=#init]] initialization routine: ... Look for [[=#extra|''additional explanations'']] here. ------------------------------

This is the initialization routine: ... Look for additional explanations here.

------------------------------ ============================== Image links are now regular external links http://example.com/img.png?foo=bar ------------------------------

http://example.com/img.png?foo=bar

------------------------------ http://example.com/img.png?foo=bar ============================== Arbitrary protocol Link ''RFCs von ftp://ftp.rfc-editor.org/in-notes/rfcXXXX.txt'' ------------------------------

RFCs von ftp://ftp.rfc-editor.org/in-notes/rfcXXXX.txt

------------------------------ ============================== mailto: links and automatic e-mail detection Author: mailto:cboos@edgewall.org, i.e. [mailto:cboos@edgewall.org me] joe'bar@site.info, trac+devel@another-site.fr, T_r+a-c1.23@yet_another-site.edu.au !not@an.email.com someone@louvre.museum- ------------------------------

Author: mailto:cboos@edgewall.org, i.e. me

joe'bar@site.info, trac+devel@another-site.fr, T_r+a-c1.23@yet_another-site.edu.au not@an.email.com someone@louvre.museum-

------------------------------ ============================== Arbitrary protocol Link ''RFCs von ftp://ftp.rfc-editor.org/in-notes/rfcXXXX.txt'' ------------------------------

RFCs von ftp://ftp.rfc-editor.org/in-notes/rfcXXXX.txt

------------------------------ ============================== Generic InterTrac links th:roadmap th:roadmap: [th:] [th: Trac Hacks] th:wiki:"my test spaced wiki1" th:"wiki:my test spaced wiki2" th:'wiki:"my test spaced wiki3"' [th:wiki:"my test spaced wiki4"] [th:'wiki:"my test spaced wiki5"'] [th:"wiki:my test spaced wiki6"] [th:wiki:"my test spaced wiki7" My Test Spaced Wiki 7] [th:"wiki:my test spaced wiki8" My Test Spaced Wiki 8] [th:'wiki:"my test spaced wiki9"' My Test Spaced Wiki 9] ------------------------------

th:roadmap th:roadmap: th Trac Hacks th:wiki:"my test spaced wiki1" th:"wiki:my test spaced wiki2" th:'wiki:"my test spaced wiki3"' wiki:"my test spaced wiki4" wiki:"my test spaced wiki5" wiki:my test spaced wiki6 My Test Spaced Wiki 7 My Test Spaced Wiki 8 My Test Spaced Wiki 9

------------------------------ ============================== Another arbitrary protocol Link svn+ssh://secureserver.org [svn+ssh://secureserver.org SVN link] [rfc-2396.compatible://link] [rfc-2396.compatible://link RFC 2396] [rfc-2396+under_score://link] [rfc-2396+under_score://link underscore] unsafe://scheme is not rendered ------------------------------

svn+ssh://secureserver.org SVN link rfc-2396.compatible://link RFC 2396 rfc-2396+under_score://link underscore unsafe://scheme is not rendered

------------------------------ ============================== Another arbitrary protocol Link without [] - SKIP as it clashes with Jira ticket syntax rfc-2396.compatible://link rfc-2396+under_score://link ------------------------------

rfc-2396.compatible://link rfc-2396+under_score://link

------------------------------ ============================== WikiCreole style for the above examples [[link:WikiStart| Foo]] [[http://www.edgewall.com/|Edgewall]] [[link:Foo Bar|Foo Bar]] [[link:Foo Bar#baz|Foo Bar]] [[Foo Bar]] [[Foo Bar|Fu Bar]] [[Foo Bar#baz|Foo Bar]] [[link:Argv|"*argv[] versus **argv"]] [[link:test|"test.txt", line 123]] [[link:pl/de|%de]] i.e. [[mailto:cboos@edgewall.org|me]] [[th:]] [[th:|Trac Hacks]] [[svn+ssh://secureserver.org|SVN link]] [[rfc-2396.compatible://link|RFC 2396]] ------------------------------

Foo Edgewall

Foo Bar Foo Bar

Foo Bar? Fu Bar? Foo Bar?

*argv[] versus **argv

"test.txt", line 123

%de

i.e. me

th Trac Hacks

SVN link RFC 2396

------------------------------ ============================== More WikiCreole examples [[coffeehouse setup|How to set up a coffee house]] [[link:Template]] [[link:Template|]] [[trac:wiki:Pipe (computing)|]] [[trac:wiki:Pipe (computing)|]] [[|b]] (might change to relative) [[]] no "empty" link here [[ ]] is not completely empty... ------------------------------

How to set up a coffee house?

Template Template

wiki:Pipe (computing) wiki:Pipe (computing)

b (might change to relative)

[[]] no "empty" link here ? is not completely empty...

------------------------------ ============================== Link resolver counter examples Test:[[BR]] There should be a line break Other test:'''bold text''' should be bold ------------------------------

Test:
There should be a line break

Other test:bold text should be bold

------------------------------ Test: There should be a line break Other test:bold text should be bold ------------------------------

Test:
There should be a
line break

Other test:bold text should be bold

============================== Link resolver counter example '''Note:''' ------------------------------

Note:

------------------------------ Note: ============================== ============================================================ Processor blocks ============================== Code Block 1 {{{ Preformatted text. }}} Paragraph ------------------------------
Preformatted text.

Paragraph

------------------------------ […] Paragraph ============================== Code Block 2 {{{ Preformatted text. }}} Paragraph ------------------------------
<b>Preformatted text</b>.

Paragraph

------------------------------ […] Paragraph ============================== Embedded code blocks {{{ Outer block. {{{ Inner block. }}} }}} Paragraph ------------------------------
Outer block.
{{{
Inner block.
}}}

Paragraph

------------------------------ […] Paragraph ============================== Consecutive code blocks Block {{{ number one }}} and block {{{ number two }}} . ------------------------------

Block

number one

and block

number two

.

------------------------------ Block […] and block […] . ============================== Unfinished code blocks Block {{{ number one and block {{{ number two }} ------------------------------

Block

number one

and block
{{{
number two
 }}
}}}
------------------------------ Block[…] ============================== Wiki processor {{{ #!default Preformatted text. }}} Paragraph ------------------------------
Preformatted text.

Paragraph

------------------------------ […] Paragraph ============================== Wiki processor, compact declaration {{{#!default Preformatted text. }}} Paragraph {{{#!default}}} just normal inline code. ------------------------------
Preformatted text.

Paragraph #!default just normal inline code.

------------------------------ […] Paragraph #!default just normal inline code. ============================== Wiki processor, prefix removal {{{ Here we keep the space prefix, as there's at least one line not having it. Preformatted text. }}} Paragraph {{{#!default Here we remove the space prefix, as all lines have it. Preformatted text. }}} Paragraph ------------------------------
  Here we keep the space prefix, as there's at least one line not having it.
Preformatted text.

Paragraph

Here we remove the space prefix, as all lines have it.
Preformatted text.

Paragraph

------------------------------ ============================== Wiki processor counter example {{{ #!/bin/sh echo "foo" }}} Paragraph ------------------------------
#!/bin/sh
echo "foo"

Paragraph

------------------------------ […] Paragraph ============================== HTML wiki processor {{{ #!html

Hello World

}}} ------------------------------

Hello World

------------------------------ […] ============================== HTML wiki processor, XSS check 1 {{{ #!html }}} ------------------------------ ------------------------------ […] ============================== HTML wiki processor, XSS check 2 {{{ #!html
Click me
}}} ------------------------------
Click me
------------------------------ […] ============================== HTML wiki processor, XSS check 3 {{{ #!html Safe link Link to repository Unsafe link }}} ------------------------------ Safe link Link to repository Unsafe link ------------------------------ […] ============================== HTML comment wiki processor Before {{{ #!htmlcomment This is a comment with embedded tags & entities }}} After ------------------------------

Before

After

------------------------------ Before […] After ============================== HTML comment wiki processor, comment ends with "-" Before {{{ #!htmlcomment This comment ends with - }}} After ------------------------------

Before

After

------------------------------ Before […] After ============================== HTML comment wiki processor, comment contains "--" Before {{{ #!htmlcomment The character sequence -- is not allowed in comments }}} After ------------------------------

Before

Error: Forbidden character sequence "--" in htmlcomment wiki code block

After

------------------------------ Before […] After ============================== WikiProcessor default arguments [[div(Div has 'wikipage' class.)]] [[table()]] Table must have 'wiki' class. ------------------------------

Div has 'wikipage' class.

Table must have 'wiki' class.

------------------------------ ============================== div and span wiki processors And now it's [[span('''TIME FOR BED!,class=important)]]. Really. {{{ #!div ; class=important Go ahead, edit it freely. {{{ #!div; style="border: 2pt solid blue; margin: 1em; padding: .5em"; class=demo And now it's [[span('''TIME FOR BED! ''',class=important)]]. Really. }}} etc. }}} and {{{#!rtl Some RTL text }}} {{{#!rtl class="important" with an additional class }}} Done. ------------------------------

And now it's TIME FOR BED!. Really.

Go ahead, edit it freely.

And now it's TIME FOR BED! . Really.

etc.

and

Some RTL text

with an additional class

Done.

------------------------------ And now it's TIME FOR BED!. Really. […] and […] […] Done. ============================== div and Span wiki processors {{{ #!div ; class="important" Go ahead, [[Span(''edit it freely'',class=important)]]. }}} Done. ------------------------------

Go ahead, edit it freely.

Done.

------------------------------ […] Done. ============================== span wiki processor {{{ #!span style="background: #ffd" This is a multiline span - only ''inline'' wiki formatting here, of course - this is only a span after all! }}} TODO: should be expanded in inline mode ------------------------------ This is a multiline span - only inline wiki formatting here, of course - this is only a span after all!

TODO: should be expanded in inline mode

------------------------------ […] TODO: should be expanded in inline mode ============================== div and Span wiki processors {{{ #!div ; style="background: #aeaeae" == Heading == Headings are now inside the block thanks to the default .wikipage class. }}} Done. ------------------------------

Heading

Headings are now inside the block thanks to the default .wikipage class.

Done.

------------------------------ […] Done. ============================================================ Wiki Macros ============================== Macro help shortcut (with content) [[HelloWorld?(hej hopp)]] ------------------------------

[[HelloWorld]]

A dummy macro used by the unit test.

------------------------------ [[HelloWorld?(...)]] ============================== Macro help shortcut (no content) [[HelloWorld?]] ------------------------------

[[HelloWorld]]

A dummy macro used by the unit test.

------------------------------ [[HelloWorld?]] ============================== Macro with arguments (leading) [[HelloWorld(hej hopp)]] ------------------------------

Hello World, args = hej hopp

------------------------------ [[HelloWorld(...)]] ============================== Macro with arguments (in flow) Hello, [[HelloWorld(hej hopp)]] ------------------------------

Hello, Hello World, args = hej hopp

------------------------------ Hello, [[HelloWorld(...)]] ============================== Bad macro call, but valid WikiCreole link [[HelloWorld(hej hopp) ]] # This shouldnt executed as macro since it contain whitespace between ) and ] ------------------------------

HelloWorld(hej hopp) ? # This shouldnt executed as macro since it contain whitespace between ) and ]

------------------------------ HelloWorld(hej hopp) ? # This shouldnt executed as macro since it contain whitespace between ) and ] ============================== Another bad macro call [[HelloWorld(hej hopp))]] # Extra right brace and still executed ------------------------------

Hello World, args = hej hopp) # Extra right brace and still executed

------------------------------ [[HelloWorld(...)]] # Extra right brace and still executed ============================== Two consecutive macros on a line [[HelloWorld(hej hopp)]] [[HelloWorld(hej hopp2)]] # Test non greedy match ------------------------------

Hello World, args = hej hopp Hello World, args = hej hopp2 # Test non greedy match

------------------------------ [[HelloWorld(...)]] [[HelloWorld(...)]] # Test non greedy match ============================== Macro returning a
[[DivHelloWorld(hej hopp)]] ------------------------------

Hello World, args = hej hopp

------------------------------ [[DivHelloWorld(...)]] ============================== Macro returning a preceeded by space [[TableHelloWorld(hej hopp)]] ------------------------------

Hello Worldhej hopp

------------------------------ [[TableHelloWorld(...)]] ============================== Macro returning a
[[DivCode(hej hopp)]] ------------------------------

Hello World, args = hej hopp

------------------------------ [[DivCode(...)]] ============================== Macro returning an html.DIV(class="...code...">) [[DivCodeElement(hej hopp)]] ------------------------------

Hello World, args = hej hopp

------------------------------ [[DivCodeElement(...)]] ============================== Macro returning a Genshi Stream (no "code" div) [[DivCodeStream(hej hopp)]] ------------------------------

Hello World, args = hej hopp

------------------------------ [[DivCodeStream(...)]] ============================== Macro returning None [[None(hej hopp)]] nada ------------------------------

nada

------------------------------ [[None(...)]] nada ============================== WikiProcessor defined as a macro [[WikiProcessorSample(inlined content)]] {{{#!WikiProcessorSample arg1=this arg2="the second argument" multiline content }}} ------------------------------

Called as a macro: inlined content

Called as a processor with params:
arg1
this
arg2
the second argument
multiline content ------------------------------ [[WikiProcessorSample(...)]] […] ============================== Inlined HTML wiki processor Inline [[html( Test )]] text ------------------------------

Inline Test text

------------------------------ Inline [[html(...)]] text ============================== BR macro Line break [[BR]] another line[[br]]last line ------------------------------

Line break
another line
last line

------------------------------ Line break another line last line ============================== WikiCreole line break Line break \\ another line\\last line ------------------------------

Line break
another line
last line

------------------------------ Line break another line last line ============================== Comment wiki processor Test comment blocks {{{ #!comment This is simply removed from the output }}} ------------------------------

Test comment blocks

------------------------------ Test comment blocks ============================== Comment wiki processor called as a macro Inline [[comment(This should not be seen)]] comment ------------------------------

Inline comment

------------------------------ Inline comment ============================== Exception with ascii bytes [[ValueErrorWithUtf8(error)]] ------------------------------

Error: Macro ValueErrorWithUtf8(error) failed
error

------------------------------ ============================== Exception with utf-8 bytes {{{#!ValueErrorWithUtf8 Érrör }}} [[ValueErrorWithUtf8(érrör)]] ------------------------------
Error: Processor ValueErrorWithUtf8 failed
Érrör

Error: Macro ValueErrorWithUtf8(érrör) failed
érrör

------------------------------ ============================== TracError with unicode {{{#!TracErrorWithUnicode Érrör }}} [[TracErrorWithUnicode(érrör)]] ------------------------------
Error: Processor TracErrorWithUnicode failed
Érrör

Error: Macro TracErrorWithUnicode(érrör) failed
érrör

------------------------------ ============================================================ Headings ============================== I18N heading = ça marche! = ------------------------------

ça marche!

------------------------------ = ça marche! = ============================== Quoted heading = "Test" = ------------------------------

"Test"

------------------------------ = "Test" = ============================== Heading with < and > = Foo Baz = ------------------------------

Foo <Bar> Baz

------------------------------ = Foo <Bar> Baz = ============================== Heading with . = Version 0.10 = ------------------------------

Version 0.10

------------------------------ = Version 0.10 = ============================== Normal heading == Heading with trailing white-space == ------------------------------

Heading with trailing white-space

------------------------------ == Heading with trailing white-space == ============================== Formatted heading == ''Formatted'' ~~Heading~~ == ------------------------------

Formatted Heading

------------------------------ == ''Formatted'' ~~Heading~~ == ============================== Heading with link == [wiki:SandBox Linked Heading] == ------------------------------

Linked Heading?

------------------------------ == [wiki:SandBox Linked Heading] == ============================== Normal heading, fixed id == Heading with fixed id == #heading-fixed-id ------------------------------

Heading with fixed id

------------------------------ == Heading with fixed id == #heading-fixed-id ============================== Normal heading, auto-corrected id == 10 tips == [[br]] oops! ------------------------------

10 tips


oops!

------------------------------ == 10 tips == oops! ------------------------------ ------------------------------
    1. 10 tips
============================== Relaxed heading = Title == Chapter === Section ==== Subsection ===== Subsubsection #h5 ====== h6 ======== but no h7 ------------------------------

Title

Chapter

Section

Subsection

Subsubsection
h6

======== but no h7

------------------------------ = Title == Chapter === Section ==== Subsection ===== Subsubsection #h5 ====== h6 ======== but no h7 ------------------------------ ------------------------------
  1. Title
    1. Chapter
      1. Section
        1. Subsection
          1. Subsubsection
            1. h6
============================================================ Lists ============================== Bulleted lists Paragraph * foo bar boo baz * Subitem Subitem line 2 * item 2 item 2 line 2 Paragraph - foo bar boo baz • item 2 Paragraph ------------------------------

Paragraph

  • foo bar boo baz
    • Subitem Subitem line 2
  • item 2 item 2 line 2

Paragraph

  • foo bar boo baz
  • item 2

Paragraph

------------------------------ Paragraph * foo bar boo baz * Subitem Subitem line 2 * item 2 item 2 line 2 Paragraph - foo bar boo baz • item 2 Paragraph ============================== Changelog sample (and e-mail link) 2003-09-18 23:26 Joe Bar * src/code.py: Fix problem with obsolete use of backslash in symbols. * src/test.py: Added unit tests. - test + symbol - test - symbol Paragraph ------------------------------

2003-09-18 23:26 Joe Bar <joeb@gloogle.gom>

  • src/code.py: Fix problem with obsolete use of backslash in symbols.
  • src/test.py: Added unit tests.
    • test + symbol
    • test - symbol

Paragraph

------------------------------ ============================== Complex bulleted list * foo bar boo baz * Subitem 1 - nested item 1 - nested item 2 nested item 2 continued Subitem 1 continued * Subitem 2 Subitem 2 continued * Subitem 3 continued * item 2 item 2 line 2 Paragraph ------------------------------
  • foo bar boo baz
    • Subitem 1
      • nested item 1
      • nested item 2 nested item 2 continued
      Subitem 1 continued
  • Subitem 2 Subitem 2 continued
  • Subitem 3 continued
  • item 2 item 2 line 2

Paragraph

------------------------------ ============================== Numbered lists 1. item 1 a. item 1.a a. item 1.b Some paragraph 2. continue with item 2 i. roman 1 ii. roman 2 Paragraph ------------------------------
  1. item 1
    1. item 1.a
    2. item 1.b

Some paragraph

  1. continue with item 2
    1. roman 1
    2. roman 2

Paragraph

------------------------------ 1. item 1 a. item 1.a a. item 1.b Some paragraph 2. continue with item 2 i. roman 1 ii. roman 2 Paragraph ============================== Numbered lists multi-line items 1. This is a very long line at the first level, which works correctly. 1. But this line at the second level, which is also continued on the next line, does not. Paragraph ------------------------------
  1. This is a very long line at the first level, which works correctly.
    1. But this line at the second level, which is also continued on the next line, does not.

Paragraph

------------------------------ 1. This is a very long line at the first level, which works correctly. 1. But this line at the second level, which is also continued on the next line, does not. Paragraph ============================== List with explicit numerical start > 9 '''First steps''' 1. Do this 2. Do that ... 9. Then this '''Next steps''' 10. Now this must work 11. This is ok again.. ... 19. More steps '''And more''' 20. This is ok 21. This ok too ... ------------------------------

First steps

  1. Do this
  2. Do that ...
  3. Then this

Next steps

  1. Now this must work
  2. This is ok again.. ...
  3. More steps

And more

  1. This is ok
  2. This ok too

...

------------------------------ ============================== List with explicit loweralpha start > 'a.' '''First steps''' a. Do this b. Do that ... e. Then this '''Next steps''' f. restarts at "f" g. follows with "g" ... h. More steps '''And more''' i. Now this is wrong j. (just never restart with "i." or "I.") ... ------------------------------

First steps

  1. Do this
  2. Do that ...
  3. Then this

Next steps

  1. restarts at "f"
  2. follows with "g" ...
  3. More steps

And more

  1. Now this is wrong
  2. (just never restart with "i." or "I.")

...

------------------------------ ============================== Numbered lists counter-examples This will not start a new numbered list. There's more than one character before the "." OTOH, the following is a roman numbered list: iii. start xxvii. maximal number in sequence Paragraph ------------------------------

This will not start a new numbered list. There's more than one character before the "." OTOH, the following is a roman numbered list:

  1. start
  2. maximal number in sequence

Paragraph

------------------------------ ============================== Unicode digits will not start a numbered list ³. U+00B3 will not start a numbered list. ੧. U+0A67 will not start a numbered list. ൬. U+0D6C will not start a numbered list. ➀. U+2780 will not start a numbered list. ------------------------------

³. U+00B3 will not start a numbered list. ੧. U+0A67 will not start a numbered list. ൬. U+0D6C will not start a numbered list. ➀. U+2780 will not start a numbered list.

------------------------------ ============================== Mixed lists multi-line items 1. multi-line numbered list i. multi-line item i. * sub item ii. multi-line item ii. * sub item multiline a. subsub multiline b. subsub iii. multi-line item iii. * sub item Paragraph ------------------------------
  1. multi-line numbered list
    1. multi-line item i.
      • sub item
    2. multi-line item ii.
      • sub item multiline
        1. subsub multiline
        2. subsub
    3. multi-line item iii.
      • sub item

Paragraph

------------------------------ ============================== Lists and partial inline markup (#3232) This line ''does not close italic. No problems though as it resets. Lists won't though: * '''Not closing bold... * Bold Continues here... This will be bold too as will the rest of the page. ------------------------------

This line does not close italic.

No problems though as it resets. Lists won't though:

  • Not closing bold...
  • Bold Continues here...

This will be bold too as will the rest of the page.

------------------------------ This line does not close italic. No problems though as it resets. Lists won't though: * Not closing bold... * Bold Continues here... This will be bold too as will the rest of the page. ============================== Lists starting at beginning of line - item 1 - item 2 - sub 2.1 - sub 2.2 a. item A b. item B Paragraph ------------------------------
  • item 1
  • item 2
    • sub 2.1
    • sub 2.2
  1. item A
  2. item B

Paragraph

------------------------------ ============================== Simple definition list term:: definition ------------------------------
term
definition
------------------------------ term:: definition ============================== Tricky definition list term:: definition:: text ------------------------------
term
definition:: text
------------------------------ term:: definition:: text ============================== Verbatim term in definition list `term`:: definition ------------------------------
term
definition
------------------------------ term:: definition ============================== Another verbatim term in definition list {{{term}}}:: definition ------------------------------
term
definition
------------------------------ term:: definition ============================== Complex definition list complex topic:: multiline ''formatted'' definition ------------------------------
complex topic
multiline formatted definition
------------------------------ complex topic:: multiline formatted definition ============================== Definition list counter example term::definition ------------------------------

term::definition

------------------------------ term::definition ============================== Pathological definition list counter example with block quotes {{{a}}} {{{a}}} {{{a}}} {{{a}}} {{{a}}} {{{a}}} {{{a}}} {{{a}}} {{{a}}} {{{a}}} {{{a}}} {{{a}}} {{{a}}} {{{a}}} {{{a}}} {{{a}}} {{{a}}} {{{a}}} {{{a}}} {{{a}}} {{{a}}} {{{a}}} {{{a}}} {{{a}}} {{{a}}} {{{a}}} {{{a}}} {{{a}}} {{{a}}} {{{a}}} {{{a}}} {{{a}}} {{{a}}} {{{a}}} {{{a}}} {{{a}}} {{{a}}} {{{a}}} {{{a}}} {{{a}}} ------------------------------

a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a

------------------------------ a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ============================== Definition list + escaped definition list complex topic:: multiline `not:: a dl` ------------------------------
complex topic
multiline not:: a dl
------------------------------ complex topic:: multiline not:: a dl ============================== Definition list + another escaped definition list complex topic:: multiline {{{not:: a dl}}} ------------------------------
complex topic
multiline not:: a dl
------------------------------ complex topic:: multiline not:: a dl ============================================================ Tables ============================== Simple Table, one column || a || || b || ------------------------------
a
b
------------------------------ || a || || b || ============================== Simple Table, multiple columns in: || RPC# || parameter len || ..... parameter ..... || out: || RPC# || parameter len || ..... parameter ..... || ---- ------------------------------

in:

RPC# parameter len ..... parameter .....

out:

RPC# parameter len ..... parameter .....

------------------------------ in: || RPC# || parameter len || ..... parameter ..... || out: || RPC# || parameter len || ..... parameter ..... || ---- ============================== Simple Table with colspan in: || name |||| parameter info || || RPC# || parameter len || ..... parameter ..... || |||||| end || || !#8977 || this should also work |||| ---- ------------------------------

in:

name parameter info
RPC# parameter len ..... parameter .....
end
#8977 this should also work

------------------------------ in: || name |||| parameter info || || RPC# || parameter len || ..... parameter ..... || |||||| end || || #8977 || this should also work |||| ---- ============================== Table headings (plus colspan) ||= this is a header =||||= another header =|| not a header || ||= also a header =|| some non- || header cells ||= header =|| ------------------------------
this is a header another header not a header
also a header some non- header cells header
------------------------------ ============================== Table headings (plus alignment) ||=left align =||=default=||= default =||= right align=||= center =|| ||left align ||default|| default || right align|| center || ------------------------------
left align default default right align center
left align default default right align center
------------------------------ ============================== Indented tables, multiple columns || a || b || || a || b || || a || b || || a || b || ------------------------------
a b
a b
a b
a b
------------------------------ || a || b || || a || b || || a || b || || a || b || ============================== Table escaping || a !|| b || !|| a !|| b !|| ------------------------------
a || b

|| a || b ||

------------------------------ || a || b || || a || b || ============================== Table with row continuation || a very long cell, with lots of content || \ || \ || a second cell, on the same row || || || Another row || \ || Another row || || normal || row || || a very long cell, with lots of content || \ || a second cell, on the same row || || normal || row || |||| \ || this should also work || ------------------------------
a very long cell, with lots of content a second cell, on the same row
Another row Another row
normal row
a very long cell, with lots of content a second cell, on the same row
normal row
this should also work
------------------------------ ============================== Table with !#th and !#td wiki processors {{{ #!th style="text-align: left" - some header }}} {{{ #!th - another header - with more rows }}} || {{{ #!td rowspan=2 Arbitrarily big content (even an embedded table of course): || A || B || {{{ #!div class=important or better, an embedded wiki paragraph, itself with a big table ||= A =||= B =|| {{{ #!td colspan=2 {{{ def hello(): print "A and B!" }}} }}} }}} }}} {{{ #!td Second cell, first row }}} || {{{ #!td Second cell, second row... }}} ------------------------------
  • some header
  • another header
  • with more rows

Arbitrarily big content (even an embedded table of course):

A B

or better, an embedded wiki paragraph, itself with a big table

A B
def hello():
  print "A and B!"

Second cell, first row

Second cell, second row...

------------------------------ ============================== Table with wiki processors, unfinished block {{{ #!td style="vertical-align: top" - some header }}} {{{ #!td - another header - with more rows || {{{ #!td rowspan=2 not another cell, but an embedded table... ------------------------------
  • some header
  • another header
  • with more rows

not another cell, but an embedded table...

------------------------------ ============================== Table with wiki processors, wikimedia row sep {{{#!th ........... 11 Heading A }}} {{{#!th ........... 12 Heading B }}} |--------------------------- style="background: grey" {{{#!td ........... 21 Content A }}} {{{#!td ........... 22 Content B }}} ------------------------------

Heading A

Heading B

Content A

Content B

------------------------------ […] […][…] […] ============================== Table with wiki processors (tr, th and td) A very nice table: {{{#!table style="border: none" {{{#!tr ++++++++++++++++++++++++++++++++++++++++++++++ style="background: #ffd" {{{#!th .......................................... style="background: #dfd" Header A }}} {{{#!th .......................................... style="background: #dfd" Header B }}} }}} {{{#!tr ++++++++++++++++++++++++++++++++++++++++++++++ style="background: #fdf" {{{#!td .......................................... Content A }}} {{{#!td .......................................... Content B }}} }}} }}} Paragraph ------------------------------

A very nice table:

Header A

Header B

Content A

Content B

Paragraph

------------------------------ A very nice table: […] Paragraph ============================== Table with wiki processors (table but no cells) A very nice table: {{{#!table style="border: none" This table processor doesn't contain any cell, this is an error. }}} Paragraph ------------------------------

A very nice table:

!#table must contain at least one table cell (and table cells only)

Paragraph

------------------------------ A very nice table: […] Paragraph ============================== Table with wiki processors (tr but no cells) A very nice table: {{{#!table style="border: none" {{{#!tr This tr processor doesn't contain any cell, this is an error. }}} }}} Paragraph ------------------------------

A very nice table:

!#table must contain at least one table cell (and table cells only)

Paragraph

------------------------------ A very nice table: […] Paragraph ============================== Table with wiki processors (table + multiple embedded tables) A very nice table: {{{#!table style="border: none" || only one table || || extra table is an error|| }}} Paragraph ------------------------------

A very nice table:

!#table must contain at most one table

Paragraph

------------------------------ A very nice table: […] Paragraph ============================== Table with wiki processors within div {{{#!div {{{#!td rowspan=2 A cell can now contain any markup: - lists - blocks - etc. }}} {{{#!td Another cell with rich content, on the same row }}} |- {{{#!td Another cell with rich content, on the next row }}} }}} Paragraph ------------------------------

A cell can now contain any markup:

  • lists
  • blocks
  • etc.

Another cell with rich content, on the same row

Another cell with rich content, on the next row

Paragraph

------------------------------ ============================================================ Mixed examples ============================== Mix of headings and lists = Heading 1 = Paragraph * Item 1 * Item 2 Another paragraph ------------------------------

Heading 1

Paragraph

  • Item 1
    • Item 2

Another paragraph

------------------------------ = Heading 1 = Paragraph * Item 1 * Item 2 Another paragraph ------------------------------

Heading 1

Paragraph

  • Item 1
    • Item 2

Another paragraph

============================== Heading, lists and table Paragraph ---- 1. Item 1 2. Item 2 ||Table||cell|| ||Foo||Bar||Baz|| http://www.edgewall.com/ ------------------------------

Paragraph


  1. Item 1
    1. Item 2
Tablecell
FooBarBaz

http://www.edgewall.com/

------------------------------ Paragraph ---- 1. Item 1 2. Item 2 ||Table||cell|| ||Foo||Bar||Baz|| http://www.edgewall.com/ ------------------------------

Paragraph


  1. Item 1
    1. Item 2
Tablecell
FooBarBaz

http://www.edgewall.com/

============================== Lists, indents and table * Bar * Foo || Foo || Bar || || Foo || Bar || ------------------------------
  • Bar
    • Foo
Foo Bar
Foo Bar
------------------------------ * Bar * Foo || Foo || Bar || || Foo || Bar || ============================== "Tabstops" set by lists and quotes This is one level deep * Bar * Foo Now this should be 2 levels deep as well This is now level 3. Continue on level 2. - but a list always restart at level 1. Paragraph. ------------------------------

This is one level deep

  • Bar
    • Foo

Now this should be 2 levels deep as well

This is now level 3.

Continue on level 2.

  • but a list always restart at level 1.

Paragraph.

------------------------------ ============================== Citations (mail style, no consistent space) > This is the quoted text >> a nested quote A comment on the above >> start 2nd level >> continue 2nd level > first level ------------------------------

This is the quoted text

a nested quote

A comment on the above

start 2nd level continue 2nd level

first level

------------------------------ > This is the quoted text >> a nested quote A comment on the above >> start 2nd level >> continue 2nd level > first level ------------------------------

This is the quoted text

a nested quote

A comment on the above

start 2nd level
continue 2nd level

first level

============================== Citations (reply to style, consistent space) A quote A paragraph definition :: term > A quote >A paragraph > definition :: term > A quote > A paragraph > definition :: term ------------------------------

A quote

A paragraph

definition
term

A quote

A paragraph

definition
term

A quote

A paragraph

definition
term

------------------------------ A quote A paragraph definition :: term > A quote >A paragraph > definition :: term > A quote > A paragraph > definition :: term ============================== Citations of arbitrary wiki content - First level - second level > - This is the quoted list, in first level item > - subitem > > > a nested paragraph with a block (outside of the quoted list above as there's a paragraph sep) > > {{{ > > block > > }}} > > > || nested || table || Paragraph ------------------------------
  • First level
    • second level
    • This is the quoted list, in first level item
      • subitem

    a nested paragraph with a block (outside of the quoted list above as there's a paragraph sep)

    block
    
    nested table

Paragraph

------------------------------ - First level - second level > - This is the quoted list, in first level item > - subitem > > > a nested paragraph with a block (outside of the quoted list above as there's a paragraph sep) > > {{{ > > block > > }}} > > > || nested || table || Paragraph ============================== Citation and follow-up block > a {{{ b }}} > c ------------------------------

a

b

c

------------------------------ > a […] > c ============================== Block and follow-up citation {{{ > a b }}} > c ------------------------------
> a
b

c

------------------------------ […] > c ============================== List immediately followed by binary inline markup, #11009 *** * list *** ------------------------------

*

  • list

*

------------------------------ ============================== List immediately followed by binary inline markup 1, #11373 1. normal in list ''italic in paragraph 1. normal in list //italic in paragraph ------------------------------
  1. normal in list

italic in paragraph

  1. normal in list

italic in paragraph

------------------------------ ============================== List immediately followed by binary inline markup 2, #11373 1. //italic in list ''italic in paragraph 1. ''italic in list //italic in paragraph 1. ''italic in list ''italic in paragraph 1. //italic in list //italic in paragraph ------------------------------
  1. italic in list

italic in paragraph

  1. italic in list

italic in paragraph

  1. italic in list

italic in paragraph

  1. italic in list

italic in paragraph

------------------------------ ============================== List immediately followed by binary inline markup 3, #11373 1. ''italic in list '''''bolditalic in paragraph''''' ------------------------------
  1. italic in list

bolditalic in paragraph

------------------------------ ============================== List immediately followed by binary inline markup 4, #11373 1. '''bold in list '''''bolditalic in paragraph''''' ------------------------------
  1. bold in list

bolditalic in paragraph

------------------------------