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

This should be bold and italic

------------------------------ ============================== 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

------------------------------ ============================== 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, 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>"

------------------------------ ============================================================ Other Links ============================== Relative links 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] [/] Note: "" is an Href("/") artifact [/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 / Note: "" is an Href("/") artifact new ticket #title see Title

------------------------------ ============================== 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@neuf.fr, i.e. [mailto:cboos@neuf.fr 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@neuf.fr, 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:roadmap th:roadmap: th Trac Hacks

------------------------------ ============================== Another arbitrary protocol Link svn+ssh://secureserver.org [svn+ssh://secureserver.org SVN link] rfc-2396.compatible://link [rfc-2396.compatible://link RFC 2396] ------------------------------

svn+ssh://secureserver.org SVN link rfc-2396.compatible://link RFC 2396

------------------------------ ============================== 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 ============================== 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 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
------------------------------ […] ============================== 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. }}} Done. ------------------------------

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

Go ahead, edit it freely.

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

etc.

Done.

------------------------------ And now it's [[span(...)]]. Really. […] 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. ============================================================ Wiki Macros ============================== 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 [[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 ============================== 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 ============================== 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 ============================================================ 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 == ------------------------------

10 tips

------------------------------ == 10 tips == ============================================================ Lists ============================== Bulleted lists Paragraph * foo bar boo baz * Subitem Subitem line 2 * item 2 item 2 line 2 Paragraph ------------------------------

Paragraph

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

Paragraph

------------------------------ Paragraph * foo bar boo baz * Subitem Subitem line 2 * item 2 item 2 line 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 ============================== 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

------------------------------ ============================== 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

------------------------------ ============================== 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 ..... || ---- ============================== 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 || ============================================================ 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, 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/ ============================== 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 > This is the quoted text >> a nested quote A comment on the above >> start 2nd level > first level ------------------------------

This is the quoted text

a nested quote

A comment on the above

start 2nd level

first level

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