r14 - 2001-02-25 - 03:14:21 - PeterThoenyYou are here: TWiki >  TWiki Web > TextFormattingRules



The TWiki web has the following types of internal links:


External links:

  • Email addresses like name@domain.com are linked automatically.


Formatting Command: Example: You write: You get:
Blank lines will create new paragraphs.
1st paragraph

2nd paragraph
1st paragraph

2nd paragraph

Bold Text:
Words get bold by enclosing them in * asterisks.
Italic Text:
Words get italic by enclosing them in _ underscores.
Bold Italic:
__Bold italic__
Bold italic
Fixed Font:
=Fixed font=
Fixed font
Bold Fixed Font:
==Bold fixed==
Bold fixed
_This works_,
_this not _
This works, _this not _
Verbatim Mode:
Note: Each tag must be on a line by itself.
class CatAnimal {
  void purr() {
	 <code here>
class CatAnimal {
  void purr() {
    <code here>
At least four dashes at the beginning of a line.

List Item:
Three spaces and an asterisk.
	* bullet item
  • bullet item
Nested List Item:
Six, nine, ... spaces and an asterisk.
		* nested stuff
    • nested stuff
Ordered List:
Three spaces and a number.
	1 Sushi
	1 Dim Sum
  1. Sushi
  2. Dim Sum
Definition List:
	Sushi: Japan
	Dim&nbsp;Sum: S.F.
Dim Sum
Optional spaces followed by the cells enclosed in vertical bars.
| A1 | B1 | C1 |
| A2 | B2 | C2 |
| A3 \  | next \  | next |
A1 B1 C1
A2 B2 C2
A3 next next
WikiWord Links:
CapitalizedWordsStuckTogether (or WikiWords) will produce a link automatically.



Forced Links:
[[wiki syntax]]

[[Main.TWiki users]]
wiki syntax

Main.TWiki users

Specific Links:
Create a link where you can specify the link text and the link reference separately, using nested square brackets like [[text][reference]]. Internal link references (i.e. WikiSyntax) and external link references (i.e. http://TWiki.org/) are supported. The same Forced Links rules apply for internal link references. Anchor names can be added as well, like [[go home][WebHome@MyAnchor]] and [[Yahoo!][http://www.yahoo.com/#somewhere]].



You can define a link reference inside a TWiki topic (called an anchor name) and link to that. To define an anchor write @AnchorName at the beginning of a line. The anchor name must be a WikiWord. To link to an anchor name use the [[MyTopic@MyAnchor]] syntax. You can omit the topic name if you want to link within the same topic.


@MyAnchor To here


@MyAnchor To here

Prevent a Link:





  • %WEB% : The current web, is TWiki .
  • There are many more variables, see TWikiVariables.
Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r49 | r16 < r15 < r14 < r13 | More topic actions...
Powered by TWiki
Ideas, requests, problems regarding TWiki? Send feedback
Note: Please contribute updates to this topic on TWiki.org at TWiki:TWiki.TextFormattingRules