Formatting Instructions (Close Window)

  1. Inline Formatting
  2. Literal Text
  3. Headings
  4. Table of Contents
  5. Horizontal Rules
  6. Lists
  7. Links and Images
  8. Code Blocks
  9. Tables

Inline Formatting

//emphasis text//

emphasis text

**strong text**

strong text

//**emphasis and strong**//

emphasis and strong

{{ teletype text }}

teletype text

@@--- delete text +++ insert text @@

delete text insert text

@@--- delete only @@

delete only

@@+++ insert only @@

insert only

Top

Literal Text

``This //text// does not get **parsed**.``

This //text// does not get **parsed**.

Top

Headings

+++ Level 3 Heading
++++ Level 4 Heading
+++++ Level 5 Heading

Level 3 Heading

Level 4 Heading

Level 5 Heading

Top

Table of Contents

To create a list of every heading, with a link to that heading, put a table of contents tag on its own line.

[[toc]]

Top

Horizontal Rules

Use four dashes (----) to create a horizontal rule.

Top

Lists

Bullet Lists

You can create bullet lists by starting a paragraph with one or more asterisks.

* Bullet one
  * Sub-bullet

Numbered Lists

Similarly, you can create numbered lists by starting a paragraph with one or more hashes.

# Number one
# Number two
  # Sub-item
  1. Number one
  2. Number two
    1. Sub-item

Mixing Bullet and Number List Items

You can mix and match bullet and numbered lists:

# Number one
 * Bullet
 * Bullet
# Number two
 * Bullet
 * Bullet
  * Sub-bullet
   # Sub-sub-number
   # Sub-sub-number
# Number three
 * Bullet
 * Bullet
  1. Number one
  2. Number two
  3. Number three

Definition Lists

You can create a definition (description) list with the following syntax:

: Item 1 : Something
: Item 2 : Something else
Item 1
Something
Item 2
Something else

Top

Links and Images

Wiki Links

SmashWordsTogether to create a page link.

You can force a WikiPage name not to be clickable by putting an exclamation mark in front of it.

WikiPage !WikiPage

WikiPage WikiPage

You can create a "described" or "labeled" link to a wiki page by putting the page name in brackets, followed by some text.

[WikiPage Descriptive text for the link.]

Descriptive text for the link.

URLs

Create a remote link simply by typing its URL: http://ciaweb.net.

If you like, enclose it in brackets to create a numbered reference and avoid cluttering the page; [http://ciaweb.net/free/] becomes 1.

Or you can have a described-reference instead of a numbered reference:

[http://pear.php.net PEAR]

PEAR

Images

You can put a picture in a page by typing the URL to the picture (it must end in gif, jpg, or png).

http://c2.com/sig/wiki.gif

You can use the described-reference URL markup to give the image an ALT tag:

[http://phpsavant.com/etc/fester.jpg Fester]

Fester

Top

Code Blocks

Create code blocks by using <code>...</code> tags (each on its own line).

<code>
This is an example code block!
</code>

To create PHP blocks that get automatically colorized when you use PHP tags, simply surround the code with <code type="php"> ... </code> tags (the tags themselves should each be on their own lines, and no need for the <?php ... ?> tags).

<code type="php">

for ($i = 0; $i < 10; $i++) {
	echo $i . '<br />';
}

</code>
<?php

for ($i = 0; $i < 10; $i++) {
    echo
$i . '<br />';
}

?>

Top

Tables

You can create tables using pairs of vertical bars:

|| cell one || cell two ||
|||| big ol' line ||
|| cell four || cell five ||
|| cell six || here's a very long cell ||
cell one celltwo
big ol' line
cell four cell five
cell six here's a very long cell
|| lines must start and end || with double vertical bars || nothing ||
|| cells are separated by || double vertical bars || nothing ||
|||| you can span multiple columns by || starting each cell ||
|| with extra cell |||| separators ||
|||||| but perhaps an example is the easiest way to see ||
lines must start and end with double vertical bars nothing
cells are separated by double vertical bars nothing
you can span multiple columns by starting each cell
will extra cell separators
but perhaps an example is the easiest way to see

Top