bg-image

Traditional Dokuwiki Formatting Syntax

DokuWikiTraditional syntax supports some simple markup language, which tries to make the datafiles to be as readable as possible. This page contains all possible syntax you may use when editing the pages. Simply have a look at the source of this page by pressing “Edit this page”. If you want to try something, just use the playground page. The simpler markup is easily accessible via quickbuttons , too.

New Formatting Syntax

This Wiki use The new formatting protocol of the see Code-Text preprocessor

It use single point commands as .b .blue  eg.
double point substitute as ..text-insert-a  eg.
a simplifed lisp form called “lispish form” as .(page namespace:page) .(xxx) eg.

The Traditional Dokuwiki Formatting Syntax can still be used, but you need to insert linebreak commands as follows:
substitute single paragraph linebreak ( \ \ ) with .lp
substitute double paragraph linebreak ( empty lines ) with .dp

For new writing please consider the new ctdw syntax It will make the source text much smother and offer a bunch of new possibilities. which allow format the source without loosing its readablility.

Basic Text Formatting

ctDokuWiki supports bold, italic, underlined and monospaced texts. Of course you can combine .b .i .msp .ms all these. \ You can use subscript .delsubsupand superscript , too. You can mark something as .del deleted as well. .delsubsupParagraphs are inserted by .dp (inserting a blank line to.yellow DokuWiki ). If you want to force a newline without a paragraph use .lp
(this insert two backslashes followed by a whitespace or the end of line to.yellow DokuWiki )
You should use forced newlines .lp only if really needed.

ctDokuWiki supports multiple ways of creating links.

External

External links are recognized automatically: http://www.google.com or simply www.google.com or with the lispish form http://http://www.google.com - You can set the link text as well: . Email addresses like this one: andi@splitbrain.org are recognized, or with the.blue lispish form http://andi@splitbrain.org too.

 ..ctdw-c  supports multiple ways of creating links. External links are recognized .onl automatically: http://www.google.com or simply www.google.com - You can set .onl link text as well:[[http://http://www.google.com|This Link points to google]]  . Email .onl addresses like this one: <andi@splitbrain.org> are recognized, too. .onl 

Internal

Internal links pagename or link with link text link text .

You write as \.(page pagename) or as \.(page pagename link text) . .onl Note: pagenames are converted to lowercase automatically, special characters are not allowed. .lp .onl 

You can use some:namespaces by using a colon in the pagename.
For details about namespaces see http://doku>namespaces . Linking to a specific section is possible, too. Just add the section name behind a hash character as known from HTML. This links to this Section .

This links to \.(page syntax this Section :section Internal) . .onl 
Notes

* Links to existing page is shown in a different style from a nonexisting .
*.green ctDokuWiki does not use CamelCase to automatically create links by default, but this behavior can be enabled in the config file. Hint: If xxxx is a link, then it's enabled.
* When a section's heading is changed, its bookmark changes, too. So don't rely on section linking too much.

Interwiki

ctDokuWiki supports Interwiki links. These are quick links to other Wikis. For example this is a link to Wikipedia's page about Wikis: Wiki .

 ..ctdw-c  supports \.(page doku>Interwiki)  links. These are quick links to other Wikis. .onl For example this is a link to Wikipedia's page about Wikis: \.(page wp>Wiki) .  .onl 

Windows Shares

Windows shares like this are recognized, too. Please note that these only make sense in a homogeneous user group like a corporate Intranet .

Windows Shares like \.(page \\server\share this)  are recognized, too. .onl 

Notes:
* For security reasons direct browsing of windows shares only works in Microsoft Internet Explorer per default (and only in the “local zone”). * For Mozilla and Firefox it can be enabled through different workaround mentioned in the Mozilla .onl Knowledge Base . However, there will still be a JavaScript warning about trying to open a Windows Share. To remove this warning (for all users), put the following line in conf/lang/en/lang.php (more details at .onl .(code <code - conf/lang/en/lang.php> /=jul27 /=what-do-this? <?php /** * Customization of the english language file * Copy only the strings that needs to be modified */ $lang['js']['nosmblinks'] = ''; </code> ==== Image Links ==== You can also use an image to link to another internal or external page by combining the syntax for links and syntax-ctdw1 (see below) like this: .(htref http://php.net :image wiki:dokuwiki-128.png) http://http://php.net Please note: The image formatting is the only formatting syntax accepted in link names. The whole syntax-ctdw1 and syntax-ctdw1 syntax is supported (including image resizing, internal and external images and URLs and interwiki links).