Recent Changes - Search:

Research


edit SideBar


DokuWikiSyntax

Formatting Syntax, modified josefnoll 20.3.2005 !!!!

Including Tables with row spans from http://wiki.splitbrain.org/wiki:tipsandtricks:tableswithrowspans. This side also includes more examples about table formatting. I modified the inc/parser.php file with the new tableformat function.

Example of a table | | *Heading 1* | *Heading 2* | | *Heading 3* | Row 1 Col 2 | Row 1 Col 3 | | *Heading 4* | No Rowspan This Line | Row 2 Col 3 | | *Heading 5* | | Row 3 Col 3 |

wiki:DokuWiki? 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 the Edit this page button at top or bottom of the screen. If you want to try something just use the playground? page. The simpler markup is easy accessible via doku>quickbuttons?, too.

= Basic text formatting !=

DokuWiki supports bold, italic, __underlined__ and monospaced texts. Of course you can combine all these.

  DokuWiki supports bold, italic, __underlined__ and monospaced texts.
  Of course you can combine all these.

You can use <sub>subscript</sub> and <sup>superscript</sup>, too.

  You can use <sub>subscript</sub> and <sup>superscript</sup>, too.

You can mark something as <del>deleted</del> as well.

  You can mark something as <del>deleted</del> as well.

Paragraphs are created from blank lines. If you want to force a newline without a paragraph you can use two backslashes followed by a whitespace or the end of line.

This is some text with some linebreaks\\ Note that the two backslashes are only recognized at the end of a line
or followed by\\ a whitespace \\this happens without it.

  This is some text with some linebreaks\\ Note that the
  two backslashes are only recognized at the end of a line
or followed by\\ a whitespace \\this happens without it.

You should use forced newlines only if really needed.

= Links !=

DokuWiki supports multiple ways of creating links.

External !

External links are recognized automagically: http://www.google.com or simply www.google.com - You can set Linknames, too: This Link points to google. Email addresses like this one: <andi@splitbrain.org> are recognized, too.

  DokuWiki supports multiple ways of creating links. External links are recognized
  automagically: http://www.google.com or simply www.google.com - You can set
  Linknames, too: This Link points to google. Email
  addresses like this one: <andi@splitbrain.org> are recognized, too.

Internal !

Internal links are created by using square brackets. You can either just give a doku>wiki:pagename? or use an additional Title Text?. Wiki pagenames are converted to lowercase automatically, special chars are not allowed.

  Internal links are created by using square brackets. You can either just give
  a pagename? or use an additional Title Text?. Wiki pagenames
  are converted to lowercase automatically, special chars are not allowed.

You can use wiki:namespaces? by using a colon in the pagename.

  You can use wiki:namespaces? by using a colon in the pagename.

For details about namespaces see doku>wiki:namespaces?.

Linking to a specific section is possible, too. Just add the sectionname behind a hash character as known from HTML. This links to this Section?.

  This links to this Section?.

Notes:

  • Links to existing pages? are shown in a different style from wiki:nonexisting? ones.
  • DokuWiki does not use wp>CamelCase? to automatically create links by default, but this behaviour can be enabled in the doku>config? file. Hint: if DokuWiki is a link then it's enabled.
  • When a section's heading is changed it's bookmark changes, too. So don't rely on section linking too much.

Interwiki !

DokuWiki supports doku>wiki:interwiki? links. These are quick links to other Wikis. For example this is a link to Wikipedia's page about Wikis: wp>Wiki?.

  DokuWiki supports interwiki? links. These are quick links to other Wikis.
  For example this is a link to Wikipedia's page about Wikis: wp>Wiki?.

Windows Shares !

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

  Windows Shares like this? are recognized, too.

Note:

  • For security reasons direct browsing of windows shares only works in Microsoft Internet Explorer

Image Links !

You can also use an image to link to another internal or extern page by combing the syntax for links and images (see below) like this:

  {{wiki:php-powered.png}}

{{wiki:php-powered.png}}

Please note: The image formatting is the only formatting syntax accepted in link names.

= Footnotes !=

You can add footnotes ((This is a footnote)) by using double parentheses ((is this spelled right?)).

  You can add footnotes ((This is a footnote)) by using double parentheses ((is this spelled right?)).

= Sectioning !=

You can use up to five different levels of headlines structure your content. If you have more then three headlines a table of contents is generated automatically -- this can be disabled by including the string ~b32606d88f9b338323587750f7b2f5d2~ in the document.

Headline Level 3 !

Headline Level 4 !!

Headline Level 5 !!!

  ! Headline Level 3 !
  !! Headline Level 4 !!
  !!! Headline Level 5 !!!

By using four dashes you can make horizontal line:


= Images and other files !=

You can include external and internal doku>images? with curly brackets. Optional you can specify the size of them.

Real size: {{wiki:php-powered.png}}

Resize to given width: {{wiki:php-powered.png?100}}

Resize to given size: {{wiki:php-powered.png?100x100}}

Resized external Image: {{?100x100}}

  Real size:              {{wiki:php-powered.png}}
  Resize to given width:  {{wiki:php-powered.png?100}}
  Resize to given size:   {{wiki:php-powered.png?100x100}}
  Resized external Image: {{?100x100}}

By using left or right whitespaces you can choose the alignment

{{ wiki:php-powered.png}}

{{wiki:php-powered.png }}

{{ wiki:php-powered.png }}

  {{ wiki:php-powered.png}}
  {{wiki:php-powered.png }}
  {{ wiki:php-powered.png }}

Of course you can add a title (displayed as tooltip by most browsers), too.

{{ wiki:php-powered.png |This is the caption}}

  {{ wiki:php-powered.png |This is the caption}}

If you specify an filename (external or internal) that is not an image (gif,jpeg,png) then it will be displayed as link instead.

= Lists !=

Dokuwiki supports ordered and unordered lists. To create a list item intend your text by two spaces and use a * for unordered lists or a - for ordered ones.

  • This is a list
  • The second item
 * You may have different levels
  • Another item
    - The same list but ordered - Another item
    - Just use indention for deeper levels
- Thats it

<code>

  • This is a list
  • The second item
 * You may have different levels
  • Another item
    - The same list but ordered - Another item
    - Just use indention for deeper levels
- Thats it

</code>

Please note: These conversions can be turned off in the config file.

SupportedSmileys and other commands.

Edit - History - Print - Recent Changes - Search
Page last modified on May 31, 2005, at 11:14 PM EST