{{toc}}

Paragraphs

Consecutive lines are concatenated into a single paragraph.

Blank lines (ones with only a carriage return or with only spaces and tabs) mark the end of a paragraph.

For example,
if I write like this, these lines
will be formatted as one paragraph.

For example, if I write like this, these lines will be formatted as one paragraph.

Links

WikiNames (not yet supported)

WikiNames are comprised of two or more words put together; each word begins with an uppercase letter, and is followed by at least one lowercase letter or number.

Words in which this condition is met become a WikiName, and a link is automatically attached.

WikiName     - WikiName
HogeRule1    - WikiName
NOTWIKINAME  - All of the letters are uppercase, so this is not a WikiName
WikiNAME     - All of the letters in NAME are uppercase, so this is not a WikiName
fooWikiName  - This begins with "foo", which is in all lowercase, so this is not a WikiName

Linking to other Wiki pages

If a page name is surrounded with two pairs of brackets, it becomes a link to that page.

For example, if you write [[TextFormattingRules]], it becomes a link to that page.

For example, if you write TextFormattingRules, it becomes a link to that page.

Linking to an arbitrary URL

If a phrase and URL, separated by a vertical line, are surrounded with two pairs of brackets, it becomes a link to an arbitrary URL.

Links like [[Yahoo!|http://www.yahoo.com/]] are also possible.

Links like Yahoo! are also possible.

Text in a paragraph that looks like a URL will automatically become a link.

Hiki's home page is http://hikiwiki.org/en/ (English).

Hiki's home page is http://hikiwiki.org/en/ (English).

In this case, if the URL ends with jpg., .jpeg, .png, or .gif, the image is displayed on the page.

Preformatted text

Lines beginning with spaces or tabs will be treated as preformatted text.

require 'cgi'

cgi = CGI::new
cgi.header

puts <<EOS
<html>
  <head>
    <title>Hello!</title>
  </head>
  <body>
  <p>Hello!</p>
  </body>
</html>
EOS

Text decoration

Text surrounded by sets of two single quotes ('') is emphasized.

Text surrounded by sets of three single quotes (''') is strongly emphasized.

Text surrounded by sets of double equal signs (===) is struck out.

If you write like this, it becomes ''emphasized''.
And if you write like this, it becomes '''strongly emphasized'''.
==This is dull, but== And struck-out text is supported, too!

If you write like this, it becomes emphasized. And if you write like this, it becomes strongly emphasized. This is dull, but And struck-out text is supported, too!

Headings

Lines with exclamation marks at the beginning become headings.

One can use up to six exclamation marks; they will be converted to <h1> to <h6> tags.

!Heading1
!!Heading2
!!!Heading3
!!!!Heading4
!!!!!Heading5

Heading1

Heading2

Heading3

Heading4

Heading5

Horizontal lines

Four hyphens at the beginning of the line (----) become a horizontal rule.

A B C D E
----
F G H I J

A B C D E


F G H I J

Lists

Lines beginning with asterisks become list items.

It is possible to use up to three asterisks; it is also possible to create nested lists.

Lines beginning with a # become numbered lists.

*Item 1
**Item 1.1
**Item 1.2
***Item 1.2.1
***Item 1.2.2
***Item 1.2.3
**Item 1.3
**Item 1.4
*Item 2
#Item 1
#Item 2
##Item 2.1
##Item 2.2
##Item 2.3
#Item 3
##Item 3.1
###Item 3.1.1
###Item 3.1.2
  1. Item 1
  2. Item 2
    1. Item 2.1
    2. Item 2.2
    3. Item 2.3
  3. Item 3
    1. Item 3.1
      1. Item 3.1.1
      2. Item 3.1.2

Quotations

Lines beginning with two double quotes become quotations.

""This is a quotation.
""This is another quote.
""This is a continued quote.  When there are consecutive quotations,
""they are displayed as one quote,
""like this.

This is a quotation. This is another quote. This is a continued quote. When there are consecutive quotations, they are displayed as one quote, like this.

Definitions

Lines beginning with a colon and have a phrase and explanation separated by another colon will become a definition.

:ringo:apple
:gorira:gorilla
:rakuda:camel
ringo
apple
gorira
gorilla
rakuda
camel

Tables

Tables begin with two vertical bars.

Leading `!' in a cell means that it is a heading cell.

To concatenate columns or rows, put `>'(columns) or `^'(rows) at head of the cell.

||!row heading \ column heading||!column A||!column B||!column C||!>column D-E (horizontal concatenation)
||!row 1||A1||B1||^C1-C2 (vertical concatenation)||D1||E1
||!row 2||A2||B2||^>D2-E2-D3-E3 (vertical and horizontal concatenation)
||!row 3||>>A3-C3 (horizontal concatenation)
row heading \ column headingcolumn Acolumn Bcolumn Ccolumn D-E (horizontal concatenation)
row 1A1B1C1-C2 (vertical concatenation)D1E1
row 2A2B2D2-E2-D3-E3 (vertical and horizontal concatenation)
row 3A3-C3 (horizontal concatenation)

Comments

Lines starting with `//' becomes a comment line. Comment lines is not outputted.

 // This is a comment line.

Plugins

One can use a plugin by surrounding text with two pairs of brackets. Multiple lines parameter is supported. When a line contains plugin only, it is becomes a block plugin, which is not surrounded by <p> ... </p>.

{{recent(3)}}
{{pre('
 ...
 ')}}