# ABUSE ME! txt2tags stress file

aurélio marinho jargas
20021220

- BEAUTIFIERS
  - More than one per line
- TITLE
  - Level 2
    - Level 3
    - Special Chars [=(!$%<-/=\->&@*)=] on Title and TOC
    - `Marks` **are** not@parsed.on //Title// %%date and TOC
- URL
  - Plain E-MAIL links inside text
  - Extended E-MAIL links, with FORM data
  - Plain URL links inside text
  - Extended URL links, with anchor
  - Extended URL links, with FORM data
  - Extended URL links, with FORM data and anchor
  - Extended URL links, with LOGIN data
  - Extended URL links, with LOGIN, FORM data and anchor
  - Named links for URL links
  - Named links for LOCAL files
  - Funny-chars URL links
  - Mixed link types at the same line
  - Adding protocol to guessed link
- PRE
  - Entities are not parsed inside PRE
  - Escape Special chars inside PRE
- LISTS
  - All kind of lists may be nested into each other
  - Beautifiers in definition term
  - Nesting, nesting, nesting, nesting, ...
- QUOTE
  - Quoting, quoting, quoting, ...
- IMAGES
  - Image as a Link
  - Image + Text = Playing Alignment
  - Image Alone = Paragraph + Center
  - More than one per line
  - More image alignments can be done using quotes
  - More complex alignments can be done inside tables
- TABLE
  - Cell Count
  - Inserting thingies inside tables
  - Borders
    - Table first line with final BAR, HAS border
    - Table first line with NO final BAR, has NO border

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.

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___:` 2002 | 20021220 | 12-20 | 20021220

# 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.
- link name.

## 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
- login
- form
- form & anchor
- login & form

## Named links for LOCAL files

- local link up
- local link file
- local link anchor
- local link file/anchor
- local link file/anchor
- local link img

## 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 | L4 | www.L5.com

## Adding protocol to guessed link

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

# 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
  1. numbered lists inside
  2. this numbered
  3. can have
     definition
       lists inside
     this definition lists
       - can have
       - plain lists
         1. which can
         2. have numbered
            - which ...
            - well, you got it.

  4. blank lines

  5. between items

  6. must be preserved

     - including when nesting

  7. or backing to parent list
  8. ah! horizontal lines

  9. are allowed also

  10. but note:
  11. change list type
  12. on the same nesting level
  13. 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
  points to me
  an image as definition term??!?
  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:

## Image + Text = Playing Alignment

image at the line begin: left aligned

image in the middle of the line center aligned

image at the line end: right aligned

## Image Alone = Paragraph + Center

## More than one per line

lots of images at the same line!

## More image alignments can be done using quotes

> like this.

> > like this.

> > > like this.

> > > > like this.

## More complex alignments can be done inside tables

| like | this |
or | this |
or |  | this
| 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` |  | 20021220 | 2002-12-20
www.url.com | email@domain.com | literal `|` bar | named

## 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!"