Textile Markup Help

Help for the Textile markup engine.

Inline Markup

Italics _This text is italic_ This text is italic
Bold *This text is bold* This text is bold
Deleted -This text is deleted- This text is deleted
Inserted +This text is inserted+ This text is inserted
Citation ??This is a citation?? This is a citation
Superscript Text ^Up high^ Text Up high
Subscript Text ~Down low~ Text Down low
Acronym TEXT(Means this) TEXT
Footnote Some text[1] Some text1
fn1. The referent of the footnote.

1 The referent of the footnote.

Literal Text

This _text_ gets *parsed*

This text gets parsed

== This _text_ doesn't get *parsed*== 

This _text_ doesn't get *parsed*

Symbols

Em-dash em -- dash em — dash
En-dash en - dash en – dash
Trademark Name(tm) Name™
Copyright Name(c) Name©
Registered Name(r) Name®

Headings

h3. Level 3

Level 3

h4. Level 4

Level 4

h5. Level 5
Level 5
h6. Level 6
Level 6

Lists

Bullet Lists

* Item 1
* Item 2
** Sub-Item 2-1
** Sub-Item 2-2
** Sub-Item 2-3
* Item 3
  • Item 1
  • Item 2
    • Sub-Item 2-1
    • Sub-Item 2-2
    • Sub-Item 2-3
  • Item 3

Numbered Lists

# Item 1
# Item 2
## Sub-Item 2-1
## Sub-Item 2-2
## Sub-Item 2-3
# Item 4
  1. Item 1
  2. Item 2
    1. Sub-Item 2-1
    2. Sub-Item 2-2
    3. Sub-Item 2-3
  3. Item 3

Mixed Lists

Lists can successfully be mixed as well.

URLs

"http://hallofkvasir.org":http://hallofkvasir.org
"system@hallofkvasir.org":mailto:system@hallofkvasir.org
"Slashdot":http://slashdot.org
"Site Admin":mailto:system@hallofkvasir.org

http://hallofkvasir.org
system@hallofkvasir.org
Slashdot
Site Admin

Images

!http://www.hallofkvasir.org/h/images/hoklogo1.png!
!http://www.hallofkvasir.org/h/images/hoklogo1.png(Hall of Kvasir)!


Hall of Kvasir

Code Blocks

// Set up the wiki options
$options = array();
$options[‘view_url’] = “index.php?page=”;

// load the text for the requested page
$text = implode(’‘, file($page . ‘.wiki.txt’));

// create a Wiki objext with the loaded options
$wiki = new Text_Wiki($options);

// transform the wiki text.
echo $wiki->transform($text);


// Set up the wiki options
$options = array();
$options['view_url'] = "index.php?page=";

// load the text for the requested page
$text = implode('', file($page . '.wiki.txt'));

// create a Wiki objext with the loaded options
$wiki = new Text_Wiki($options);

// transform the wiki text.
echo $wiki->transform($text);

Highlighing is available for:

  • C++ (cplusplus)
  • C# (csharp)
  • CSS (css)
  • Delphi (delphi)
  • HTML / XHTML (html)
  • Java (java)
  • JavaScript (javascript)
  • LotusScript (lotusscript)
  • MySQL (mysql)
  • PHP (php)

Tables

|_. Header 1|_\2. Header colspan 2|_/2. Header rowspan 2|
|/2. cell rowspan 2|cell 2|cell 3|
|\3. cell colspan 3|
Header 1 Header colspan 2 Header rowspan 2
cell rowspan 2 cell 2 cell 3
cell colspan 3

Pre-Formatted

writing:

pre. A pre-formatted, no _markup_^or anything^
paragraph, where you can split lines.

results in:

A pre-formatted, no _markup_^or anything^
paragraph, where you can split lines.

writing:

pre.. A pre-formatted, no _markup_^or anything^
paragraph, where you can split lines.

With two dots *it goes until you specify another block...
p. Some normal text

results in:

A pre-formatted, no _markup_^or anything^
paragraph, where you can split lines.

With two dots *it goes until you specify another block...

Some normal text

Blockquote

writing:

bq. A blockquote begins with the "bq." marker. 
You can use *other markup* in here too.

results in:

A blockquote begins with the “bq.” marker.
You can use other markup in here too.

writing:

bq.. You can use mutliple dots also.

This lets you write multiple paragraphs in the same quote.
p. Until you write another block marker.

results in:

You can use mutliple dots also.

This lets you write multiple paragraphs in the same quote.

Until you write another block marker.

TeX

%%a^2 + b^2 = c^2%

%%\begin{pmatrix}
1 & 2 & 3 & 4 & 5\\
6 & 7 & 8 & 9 & 10\\
11 & 12 & 13 & 14 & 15\\
16 & 17 & 18 & 19 & 20
\end{pmatrix}%

Page Updated: Fri, May. 15th 2:26 PM
Content Updated: Fri, May. 15th 2:26 PM by Greg McWhirter (gsmcwhirter)