Appendix A. Formatting text

FitNesse is a wiki, a relatively free-form content management system that allows users to build pages and link them together. Instead of using HTML directly, wikis use a special mark-up syntax. Here is a short summary of the markup symbols:

Markup

Effect

!1

Apply Heading 1 style to the rest of the line

!2

Apply Heading 2 style to the rest of the line

!3

Apply Heading 3 style to the rest of the line

!c

Align to centre

----

Horizontal line (four or more dashes)

!img url

Display image from the URL url

!img-l url

Display image, left aligned

!img-r url

Display image, right aligned

'''text'''

Bold ( three single quotes enclosing text on each side).

''text''

Italics ( two single quotes enclosing text on each side).

#

Comment – ignore the rest of the line

!include Page Link

Include another page as a component

!include -c Page Link

Include another page with the block collapsed by default

!* Block name
block content
*!

Collapsible block, open by default

!*> Block name
block content
*!

Collapsible block, closed by default (note > after the * in the first line)

!contents

Show links to all subpages

!contents -R

Show links to all subpages and their subpages (recursively)

[[label][url]]

Explicit link: can be used to create links that FitNesse does not recognise (if the word is not in CamelCase), or to change the default label for the link.

.PageName

Link to the top level page (prefixed by a dot)

<PageName

Link to the parent-level page (< in front)

>PageName

Link to the child-level page (> in front)

{{{
block content
}}}

Preformatted text (does not prevent formatting links and special characters)

!-
block content
-!

No formatting (can be inline or multi-line). Prevents all formatting. Can be used to include HTML code or put multi-line content into table cells.

See http://FitNesse.org/FitNesse.UserGuide.MarkupLanguageReference for more detailed reference information on the wiki markup language of FitNesse.