local $/; require 't/runtests.pl'; runtests( data => , dialect => 'Socialtext', wiki_uri => 'index.cgi?' ); close DATA; __DATA__ external link __H__

[http://example.com]

__W__ http://example.com __NEXT__ Don't keep excessive whitespace __H__ This thing __W__ *This thing* __NEXT__ Take care with external links __H__ __W__ http://this.company.com/test/link.jpg __NEXT__ Leave {{This}} alone __H__

mark stubs with {{stub}}

__W__ mark stubs with {{stub}} __NEXT__ quoted __H__

what happens to 'quoted text'?

__W__ what happens to 'quoted text'? __NEXT__ doubly quoted __H__

how about ''doubly quoted''?

__W__ how about ''doubly quoted''? __NEXT__ bold __H__ bold __W__ *bold* __NEXT__ italics __H__ italics __W__ _italics_ __NEXT__ bold and italics __H__ bold and italics __W__ *bold* and _italics_ __NEXT__ bold-italics nested __H__ bold-italics nested __W__ *_bold-italics_ nested* __NEXT__ strong __H__ strong __W__ *strong* __NEXT__ emphasized __H__ emphasized __W__ _emphasized_ __NEXT__ underlined __H__ underlined __W__ _underlined_ __NEXT__ strikethrough __H__ strike __W__ -strike- __NEXT__ strip aname __H__ __W__ __NEXT__ one-line phrasals __H__ phrasals in one line __W__ _phrasals in one line_ __NEXT__ paragraph blocking __H__

p1

p2

__W__ p1 p2 __NEXT__ lists __H__ __W__ * 1 * 2 __NEXT__ nested lists __H__ __W__ * 1 ** 1a ** 1b * 2 __NEXT__ nested lists (different types) __H__ __W__ * 1 ** a ### i ** b * 2 >> indented __NEXT__ hr __H__
__W__ ---- __NEXT__ code __H__ $name = 'stan'; __W__ `$name = 'stan';` __NEXT__ tt __H__ tt text __W__ `tt text` __NEXT__ pre __H__
this
  is
    preformatted
      text
__W__ .pre this is preformatted text .pre __NEXT__ indent __H__
indented text
__W__ > indented text __NEXT__ nested indent __H__
stuff
double-indented
__W__ > stuff >> double-indented __NEXT__ h1 __H__

h1

__W__ ^ h1 __NEXT__ h2 __H__

h2

__W__ ^^ h2 __NEXT__ h3 __H__

h3

__W__ ^^^ h3 __NEXT__ h4 __H__

h4

__W__ ^^^^ h4 __NEXT__ h5 __H__
h5
__W__ ^^^^^ h5 __NEXT__ h6 __H__
h6
__W__ ^^^^^^ h6 __NEXT__ img __H__ __W__ {image: thing.gif} __NEXT__ table w/ lists __H__
This IS A Table
With Some
  • Bullets
  • in
  • it
  1. And
  2. Also
  3. Numbers
This is an extraline
__W__ | This | IS | A | Table | | With | Some | * Bullets * in * it | # And # Also # Numbers | | This | is | an | extraline | __NEXT__ strip empty aname __H__ some text __W__ some text __NEXT__ wiki link (text == title) __H__ Some wiki page __W__ [Some wiki page] __NEXT__ wiki link (text case != title case) __H__ another page __W__ [another page] __NEXT__ wiki link (text != title) __H__ some text __W__ "some text"[Another_page] __NEXT__ external links __H__ thing __W__ "thing" __NEXT__ external links (rel2abs) __H__ thing __W__ "thing" __NEXT__ pre following pre __H__
preformatted text
more preformatted text
once again
__W__ .pre preformatted text .pre .pre more preformatted text .pre .pre once again .pre