Wiki-Syntax Text
On this page, you'll learn how to format text on Wiki pages and other areas that support Wiki formatting (including articles, forums, and blogs).
The Markup Language Wiki-Syntax
The markup language used on a Wiki page is most commonly called Wiki Syntax. It uses common characters in uncommon ways (or character combinations that are not normally used together) and provides them with a special meaning. Some of the character combinations only work at the beginning of a line, while others can be inserted anywhere in the text and are active until they are turned off.
Wiki-Syntax uses a character repeated twice for most functions, but it also has a few 2-character combinations. With a 2-character combination, the characters are reversed when the function is turned off. MonoSpaced Text provides a good example of this; the Minus (-) and Plus (+) characters are used to start the using MonoSpaced Text and a Plus (+) and Minus (-) characters specify the end of it.
The following sections explain most of this.
Quick Reference - Basic Text Formatting
| Desired Formatting | Syntax | Result | |
|---|---|---|---|
| Bold | __text__ | text | |
| Centered | ::text:: | text |
|
| Color Font | ~~blue:text~~ | text | |
| Italic | ''text'' = ''text'' |
text | |
| Monospaced | -+text+- | text |
|
| Underlined | ===text=== | text | |
| Text box | ^text^ | text |
|
| Deleted | --text-- | text | |
| Display syntax | ~np~__not bold__~/np~ | __not bold__ |
Toggle textarea with headline + / -
Copy to clipboard
''(click the [+]to open)'' !!!- Hidden by default Text text text text Text text text text Text text text text !!!+ Visible by default ''(click the [-]to close)'' Text text text text Text text text text Text text text text Hint: enclose the [+] and [-] in np (noparse) tags when using - they cannot be shown here in the CODE Plugin, as noparse tags conflict with the CODE Plugin
creates this:
''(click the [+]to open)''
Hidden by default
Visible by default
''(click the [+]to close)''
Text text text text
Text text text text
Text text text text
Basic Text Formatting
The Wiki-Syntax given in this section can be located anywhere in the text so that specific characters, words, or sentences can be emphasized.
Color Font
Text can be any color you want it to be. Two Tildes (~) are used followed by the name of a color and a Colon (:) to specify the start of the Colored Text. Two other Tildes (~) are used to end the Colored Text.
Example: ~~red:This text is Red~~ produces: This text is Red
Color font can also be specified using HTML colors. HTML colors use 3 pairs of Hex numbers; one for Red, Blue, & Green so that 00 00 00 would produce white. The syntax is two Tildes (~) followed by the Pound (#) character and the Hex Numbers with a Colon (:) followed by the text to be colored. Two Tildes (~) mark the end of the Colored Text.
Example: ~~#ff00ff:This text is the color Magenta ~~ produces: This text is the color Magenta
As of 3.0, the syntax was enhanced to also support background color changing.
Example: ~~blue,yellow:This text is blue with yellow background~~ This text is blue with yellow background
(click the [+] to open)
Web-Safe HTML Colors
Bold Text
Two Underscore (_) characters are used to make text Bold.
Example: __This Text is Bold__ produces:
This Text is Bold
Italic Text
Two Single Quote (') characters are used to make text Italic.
Example: ''This Text is Italic'' produces: This Text is Italic
Underlined Text
Three Equal (=) characters are used to underline text.
Example: ===This Text is Underlined=== produces:
This Text is UnderlinedStrikethrough text
- 3.x
- ">RFCWiki.