Show Menu
Cheatography

Syntax cheat sheet for DokuWiki

Headings

====== Headline ======
Level 1 section header.
===== Headline =====
Level 2 section header.
==== Headline ====
Level 3 section header.
=== Headline ===
Level 4 section header.
== Headline ==
Level 5 section header.
~~NOTOC~~
Disable table of contents on this page.

Text Formatting

**bold**
Bold.
//italic//
Italic.
__underlined__
Underl­ined.
''monospaced''
Monosp­aced.
<del>strike</del>
Strike­-th­rough.
<sub>sub</sub>
Subscript.
<sup>sup</sup>
Supers­cript.
**//combined//**
Formatting can be combined.

Links

[[pagename]]
Link to another page.
[[www.dokuwiki.org]]
Link to an external URL.
[[pagename|link text]]
Link using alternate text.
[[namespace:pagename]]
Link to a page in another namespace.
[[pagename#section]]
Link to a specific heading of a page.
[[\\server\share]]
Link to a Windows share.
<foo@bar.com>
Mailto link.

Images

{{image.png}}
Display image.
{{namespace:image.png}}
Display image from another namespace.
{{image.png?60}}
Resize image to given width.
{{image.png?60*40}}
Resize image to given width and height.
[[URL|{{image.png}}]]
Image as URL link.
{{image.png  }}
Left-j­ust­ified image.
{{  image.png}}
Right-­jus­tified image.
{{  image.png  }}
Centered image.
 

Lists

- List item
Ordered list item.
* List item
Unordered list item.
* Level 1
  * Level 2
List levels can be created by indenting with whites­pace.

Tables

^ Header ^ Header ^
Header cells (^ as delimi­ter).
| Cell | Cell |
Regular cells (pipe as delimi­ter).
| A1 | B1 |
| colspan ||
Column spanning (double pipe).
| A1 | rowspan |
| A2 | ::: |
Row spanning (triple colon).
|left  |­ ­ ­rig­ht|­ ­ ­cen­ter­ ­ |
Cell alignment (use whites­pace).

Code Blocks

Double space at start of line
Code block.
<code><\code>
Code block.
<file><\file>
Code block.
<code php><\code>
Syntax highli­ghted code block.
<file php><\file>
Syntax highli­ghted code block.
<file php myfile.php></file>
Downlo­adable code block.

Other Formatting

Empty line
New paragraph.
Forced\\ linebreak
Force linebreak.
----
Horizontal rule.
> Quote
>> Deeper quote
>>> Even deeper quote
Quotation blocks.
<nowiki>No formatting</nowiki>
Ignore text format­ting.
%%No formatting%%
Ignore text format­ting.
((Footnote text))
Creates a numbered footnote.
-> <- <-> (c) (tm) (r)
Special characters (arrows, copyright, etc.)
:) :| :(
Emoticons are converted to graphical smileys.
   
 

Comments

No comments yet. Add yours below!

Add a Comment

Your Comment

Please enter your name.

    Please enter your email address

      Please enter your Comment.

          Related Cheat Sheets

          Wikipedia Cheat Sheet
          TiddlyWiki Cheat Sheet
          DokuWiki Cheat Sheet