Text_Wiki Markup Help

Help for the Text_Wiki markup engine.

Inline Markup

Italics //This text is italic// This text is italic
Bold **This text is bold** This text is bold
TeleType {{This text is teletype}} This text is teletype
Delete + Insert @@--- delete text +++ insert text @@ delete text insert text
Delete Only @@--- delete only @@ delete only
Insert Only @@+++ insert only @@ insert only

Literal Text

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

Non-Breaking Spaces

To get   characters, use [[nbsp]] (as in    here)


Headings

+++ Level 3

Level 3

++++ Level 4

Level 4

+++++ Level 5

Level 5

++++++ Level 6

Level 6

Lists

Bullet Lists

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

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

Numbered Lists

# Item 1
# Item 2
 # Item 3
# Item 4

  1. Item 1
  2. Item 2
    1. Sub-Item 2-1
  3. Item 3

Mixed Lists

Lists can successfully be mixed as well.


Definitions

: Item 1 : Some definition
: Item 2 : Some definition

Item 1
Some definition
Item 2
Some definition

URLs

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

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


Images

http://www.hallofkvasir.org/h/images/hoklogo1.png
[http://www.hallofkvasir.org/h/images/hoklogo1.png Hall of Kvasir]

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


Code Blocks

[code type="php"]
// 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);
[/code]

// 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++ (type="cplusplus")
  • C# (type="csharp")
  • CSS (type="css")
  • Delphi (type="delphi")
  • HTML / XHTML (type="html")
  • Java (type="java")
  • JavaScript (type="javascript")
  • LotusScript (type="lotusscript")
  • MySQL (type="mysql")
  • PHP (type="php")

Tables

|| Cell One || Cell Two || Cell Three ||
|||| Cell Four || Cell 5 ||
|| Cell 6 |||| Cell 7 ||
|||||| Cell 8 ||

Cell One Cell Two Cell Three
Cell Four Cell 5
Cell 6 Cell 7
Cell 8

TeX

[tex]
a^2 + b^2 = c^2
[/tex]


a^2 + b^2 = c^2

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


\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:24 PM
Content Updated: Fri, May. 15th 2:24 PM by Greg McWhirter (gsmcwhirter)