Formatting Rules
Links
- Refer to a wiki page by enclosing it's name in square brackets: [wiki]. Case is not significant, spaces are fine. Literal square brackets must be escaped: [[[[[.
- URLs are recognized automatically: http://your.site/contents.html
- URLs in square brackets will be shown as a reference [1]], or as inline images if they have the extension .gif or .jpg. You can also name an external link by putting a space and some string after the URL, like so: an external link to your site.
Emphasis
- Surround text with pairs of single quotes to make it display in italic
- Surround text with triple single quotes to make it display in bold
To emphasise more than set of words per line, break the paragraph into multiple lines. They will be concatenated together for display.
Lists
List items begin with three spaces, a token followed by a space, then the content of the list item, all on one line. Three types of list are supported, here are the tokens:
- Bulleted lists use a * (star) token
- Numbered lists use the number-period 1. token. Just use the number 1, the items will be auto numbered.
- Definition lists use the definition followed by a colon, as token: mydef:
Formatting text
You can blockquote indent text by starting the line out with a colon and whitespace, like so:
- this should be indented.
You can get a line break (basically, a
) using three tildes, like so:
this should ~~~ appear on two lines
which looks like this:
- this should ~~~ appear on two lines
To get literal (preformatted) text, start the line with one or more whitespace:
proc example {foo bar} { puts "You can't go wrong with examples!" }
Horizontal rules
4 or more dashes (----) on a line by themselves create a horizontal rule.
Adding new pages
To add a new page:~~~
1. when editing a page, create a link to a new wiki page (using square brackets around the [New Page Name]) 1. Save the page you've edited 1. when the page is redisplayed after being saved, click on the square bracket (on either side) of your new link 1. you will be taken to an empty page with the title given by the link in the previous page, e.g. New Page Name 1. click on the link at the bottom of the page (to the right of the Last Updated: timestamp) for Edit New Page Name 1. now you can edit the newly created page
Practice your wiki skills on the graffiti page!