ABUSE ME! txt2tags stress file
aurélio marinho jargas
%%date

This file contains lots of formatting combinations that txt2tags
handles nicely. It also serve as example of really complex
structures your document can have. Don't miss the image and table
details because they really rocks!

The source TXT file for this HTML [is here abuseme.t2t].

Luke, you'll never be a Jedi until master all these structures.

========================================================================


=   BEAUTIFIERS   =

==   More than one per line   ==

- `BOLD___:` **YES** | NO | **YES** | NO | **YES**
- `ITALIC_:` //YES// | NO | //YES// | NO | //YES//
- `BDITAL_:` */YES/* | NO | */YES/* | NO | */YES/*
- `UNDER__:` __YES__ | NO | __YES__ | NO | __YES__
- `PRE____:`  `YES`  | NO |  `YES`  | NO |  `YES`
- `DATE___:` %%date(%Y) | %%date | %%date(%m-%d) | %%date


========================================================================



=   TITLE   =

   ==  Level 2  ==
  ===  Level 3  ===
 ====  Level 4  ====
=====  Level 5  =====

=== Special Chars [=(!$%<-/=\->&@*)=] on Title and TOC===
=== `Marks` **are** not@parsed.on //Title// %%date and TOC ===

========================================================================



=   URL    =

== Plain E-MAIL links inside text ==
- user@domain.com.
- user@domain.com.
- user@domain.com. any text.
- any text: user@domain.com. any text.


== Extended E-MAIL links, with FORM data ==
- user@domain.com?subject=bla
- user@domain.com?subject=bla.
- user@domain.com?subject=bla&cc=otheruser@domain.com
- user@domain.com?subject=bla&cc=otheruser@domain.com.
- [link name user@domain.com?subject=bla&cc=otheruser@domain.com].
- [link name user@domain.com?subject=bla&cc=otheruser@domain.com.].


== Plain URL links inside text ==
- http://www.domain.com
- http://www.domain.com/dir/
- http://www.domain.com/dir///
- http://www.domain.com.
- http://www.domain.com. any text.
- http://www.domain.com/dir/. any text.
- any text: http://www.domain.com. any text.
- any text: http://www.domain.com/dir/. any text.
- any text: http://www.domain.com/dir/index.html. any text.


== Extended URL links, with anchor ==
- http://www.domain.com/dir/#anchor
- http://www.domain.com/dir/index.html#anchor
- http://www.domain.com/dir/index.html#anchor.
- http://www.domain.com/dir/#anchor. any text.
- http://www.domain.com/dir/index.html#anchor. any text.
- any text: http://www.domain.com/dir/#anchor. any text.
- any text: http://www.domain.com/dir/index.html#anchor. any text.


== Extended URL links, with FORM data ==
- http://domain.com?a=a@a.a&b=a+b+c.
- http://domain.com/bla.cgi?a=a@a.a&b=a+b+c.
- http://domain.com/bla.cgi?a=a@a.a&b=a+b+c@.


== Extended URL links, with FORM data and anchor ==
- http://domain.com?a=a@a.a&b=a+b+c.#anchor
- http://domain.com/bla.cgi?a=a@a.a&b=a+b+c.#anchor
- http://domain.com/bla.cgi?a=a@a.a&b=a+b+c@.#anchor


== Extended URL links, with LOGIN data ==
- http://user:password@domain.com/bla.html.
- http://user:password@domain.com/dir/.
- http://user:password@domain.com.
- http://user:@domain.com.
- http://user@domain.com.


== Extended URL links, with LOGIN, FORM data and anchor ==
- http://user:password@domain.com/bla.cgi?a=a@a.a&b=a+b+c.#anchor
- http://user:password@domain.com/bla.cgi?a=a@a.a&b=a+b+c@#anchor


== Named links for URL links ==

- [anchor        http://www.domain.com/dir/index.html#anchor.]
- [login         http://user:password@domain.com/bla.html]
- [form          http://www.domain.com/bla.cgi?a=a@a.a&b=a+b+c.]
- [form & anchor http://www.domain.com/bla.cgi?a=a@a.a&b=a+b+c.#anchor]
- [login & form  http://user:password@domain.com/bla.cgi?a=a@a.a&b=a+b+c.]


== Named links for LOCAL files ==
- [local link up          ..]
- [local link file        bla.html]
- [local link anchor      #anchor]
- [local link file/anchor bla.html#anchor]
- [local link file/anchor bla.html#anchor.]
- [local link img         abc.gif]


== Funny-chars URL links ==

- http://domain.com:8080/~user/_st-r@a=n$g,e/index%20new.htm
- http://domain.com:8080/~user/_st-r@a=n$g,e/index%20new.htm?a=/%22&b=+.@*_-
- http://domain.com:8080/~user/_st-r@a=n$g,e/index%20new.htm?a=/%22&b=+.@*_-#anchor_-1%.
- http://foo._user-9:pass!#$%&*()+word@domain.com:8080/~user/_st-r@a=n$g,e/index%20new.htm?a=/%22&b=+.@*_-#anchor_-1%.


== Mixed link types at the same line ==

http://L1.com | L2@www.com | [L3 www.com] | [L4 w@ww.com] | www.L5.com

== Adding protocol to guessed link ==

- www.domain.com
- www2.domain.com
- ftp.domain.com
- [named URL www.domain.com]
- [named FTP ftp.domain.com]


========================================================================



=   PRE   =


== Entities are not parsed inside PRE ==

==== oneliner ====
--- BEAUTIFIERS: **bold**, //italic//, __underline__, */bolditalic/*, `pre`
--- LINKS      : email@domain.com, www.url.com, [named link.html]
--- OTHER      : [image.png], %%date
--- 	------------------------------------------------------

==== area ====
---
BEAUTIFIERS: **bold**, //italic//, __underline__, */bolditalic/*, `pre`
LINKS      : email@domain.com, www.url.com, [named link.html]
OTHER      : [image.png], %%date
	this is not a quoted line, and the next is not a line
---------------------------------------------------------------------
---

====inside paragraph====

beautifiers as `**bold**, //italic//, __underline__, */bolditalic/*`,
emails as `email@domain.com, www.url.com, [named link.html]`
and others as `[image.png], %%date` are not special when inside backquotes.

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

== Escape Special chars inside PRE ==

--- oneliner: this is an <HTML> tag  \n\t  &:)

---
area: this is an <HTML> tag  \n\t  &:)
---

inside paragraph: this is an `<HTML> tag  \n\t  &:)`

========================================================================



=   LISTS   =

==  All kind of lists may be nested into each other  ==

- plain lists
- can have
  + numbered lists inside
  + this numbered
  + can have
    = definition: lists inside
    = this definition lists:
      - can have
      - plain lists
        + which can
        + have numbered
          - which ...
          - well, you got it.

  + blank lines

  + between items

  + must be preserved

    - including when nesting

  + or backing to parent list
  + ah! horizontal lines
  ---------------------
  + are allowed also
  =====================
  + but note:
  - change list type
  + on the same nesting level
  - is ignored. this one is still a numbered list
                - the number of leading
                - spaces is free
                                  - you can abuse
                                         - as you will


and suddenly all lists are closed by two consecutive blanks.

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

==   Beautifiers in definition term   ==

= my **bold** and //italic//: friends
= www.abc.com: nice link!
= [my link #index]: points to me
= [pwrbytxt2tags-2.png]: an image as definition term??!?
= [[pwrbytxt2tags-2.png] http://txt2tags.sf.net]:
  an image that points to a link as definition term!


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

==   Nesting, nesting, nesting, nesting, ...    ==

- a
 - little
  - prove
   - that
    - lists
     - can
      - be
       - nested
        - in
         - an
          - insane
           - way.
            - you
             - will
              - never
               - need
                - to
                 - go
                  - this
                   - far,
                    - but
                     - if
                      - you
                       - want,
                        - you
                         - can.


========================================================================



=   QUOTE   =

==  Quoting, quoting, quoting, ... ==

as
	in
		lists
			you
				can
					increase
				and
			decrease
				and
					increase
				and
			decrease
		the
	quoting
level.


========================================================================



=   IMAGES   =

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

== Image as a Link ==

this image is a link: [[pwrbytxt2tags-2.png] http://txt2tags.sf.net]

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

== Image + Text = Playing Alignment ==

[pwrbytxt2tags-2.png] image at the line begin: left aligned

image in the middle of the line [pwrbytxt2tags-2.png] center aligned

image at the line end: right aligned [pwrbytxt2tags-2.png]

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

== Image Alone = Paragraph + Center  ==

[pwrbytxt2tags-2.png]

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

== More than one per line ==

lots [pwrbytxt2tags-1.png] of [pwrbytxt2tags-1.png] images [pwrbytxt2tags-1.png][pwrbytxt2tags-1.png][pwrbytxt2tags-1.png] at [pwrbytxt2tags-1.png] the [pwrbytxt2tags-1.png] same line!

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

== More image alignments can be done using quotes ==

	[pwrbytxt2tags-2.png] like this.
		[pwrbytxt2tags-2.png] like this.
			[pwrbytxt2tags-2.png] like this.
				[pwrbytxt2tags-2.png] like this.

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

== More complex alignments can be done inside tables ==


| [pwrbytxt2tags-2.png] | like  | this                  | [pwrbytxt2tags-2.png]
|    or                 | this  | [pwrbytxt2tags-2.png] |
|    or                 | [pwrbytxt2tags-2.png] | this  |
| [pwrbytxt2tags-2.png] | or    | this                  |


========================================================================



=   TABLE   =

== Cell Count ==


| just  | don't | miss  |
|       | the   | cell  |
| count | or    | your  | table
| will  | be
| a     | real  | big   | big | mess
|       | or    | maybe | you
|       |       | think | it's  |
|       |       |       |       | cool


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

== Inserting thingies inside tables ==

|| let's      | insert                | them            | here!             |
| **bold**    | //italic//            | __underline__   | */bolditalic/*    |
| `pre`       | [pwrbytxt2tags-2.png] | %%date          | %%date(%Y-%m-%d)  |
| www.url.com | email@domain.com      | literal `|` bar | [named link.html] |

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

== Borders ==


=== Table first line with final BAR, HAS border ===

| with | border |


|| with | border|
| 11    |  12


|| with | border|
| 11    |  12   |


=== Table first line with NO final BAR, has NO border ===

| no | border


|| no  | border
| 11   |  12


|| no  | border
| 11   |  12   |


========================================================================



"wee, i'm tired!"
% vim: foldmethod=syntax
