SYNTAX CHEAT SHEET
Text formatting
- Bold:
**bold** - Italic:
//italic// - Underlined:
__underlined__ Monospaced:''monospaced''
- Subscript
<sub>subscript</sub> - Superscript
<sup>superscript</sup>
Deleted:<del>deleted</del>- Forced new line:
\\(don ’t forget the space after the\\)
Links
External links
Recognizes external URLs automatically.
- Link with name:
[[http://www.google.com|Go to Google]] - Email address:
<dmpop@openoffice.org> - RSS feed:
{{rss>http://rss.slashdot.org/Slashdot/slashdot}}
Internal links
- Internal page:
[[pagename]] - Internal page with name:
[[pagename|Page name]] - Internal page in the specified namespace:
[[wiki:pagename]] - Link to the specified section:
[[page#section|Section]] - Interwiki link:
[[doku>wiki:interwiki|Interwiki]] - Link to a page on Wikipedia:
[[wp>pagename]] - Link to a Google search:
[[google>pagename]] - Link to a page on Meatball:
[[Meatball>pagename]] - Image link:
[[http://www.php.net|{{wiki:dokuwiki-128.png}}]] - Windows share:
[[\\server\share|Windows share]]
Footnotes
Add footnotes by using double parentheses ((This is a footnote)).
Headlines
====== Level 1 Headline =========== Level 2 Headline ========= Level 3 Headline ======= Level 4 Headline ===== Level 5 Headline ==
Automatically generates a table of contents when the page contains more than three headlines. To disable the table of contents, insert the ~~NOTOC~~ markup somewhere in the page.
Images
- Original size:
{{wiki:image.png}} - Resized to the specified width:
{{wiki:image .png?50}} - Resized to the specified width and height:
{{wiki:image.png?200x50}} - Resized external image:
{{http://url/image.png?200x50}} - Aligned left:
{{ wiki:image.png}} - Aligned right:
{{wiki:image.png }} - Centered:
{{ wiki:image.png }} - Caption:
{{ wiki:image.png|Caption goes here}}
Unordered lists
To create an unordered list, indent your text by two spaces and use the * character for each list item.
* Level 1 list item* Level 2 list item
* Level 1 list item
Numbered lists
To create a numbered list, indent your text by two spaces and use the - character for each list item.
- Level 1 list item- Level 2 list item
- Level 1 list item
Quotes
>Quote 1>>Quote 2>>>Quote 3
Tables
^ Heading 1 ^ Heading 2 ^ | Row 1 Col 1 | Row 1 Col 2 | | Colspan || | Row 3 Col 1 | Row 2 Col 2 | | ^ Heading 1 ^ Heading 2 ^ ^ Heading 3 | Row 1 Col 2 | Row 1 Col 3 | ^ Heading 4 | Row 2 Col 2 | Row 2 Col 3 | ^ Heading 5 | Row 2 Col 2 | Row 2 Col 3 |
Non-parsed blocks
To include a non-parsed block into a page, indent it by at least two spaces or use the <code> or <file> tags. Also, you can use % % in order to have a section of code not be parsed.
Syntax highlighting
Supports code highlighting. It uses the GeSHi Generic Syntax Highlighter (http://qbnz.com/highlighter/), and recognizes any language supported by GeSHi. The code must be included between tags that identify the programming language, for example: <code oobas> </code> or <code java> </code>.
Embedding HTML and PHP
If the HTML/PHP embedding is enabled, you can include HTML and PHP code into regular pages:
<html><font color="red" size="+1">Lorem ipsum</font> </html>
Page export
Single page can be exported to different formats by adding an appropriate do parameter to the URL: http://wiki.splitbrain.org/wiki:export?do=export_raw
The following export options are available:
export_raw(returns the pages source as text/plain )export_xhtml(returns the rendered page as simple XHTML without any navigational elements)export_xhtmlbody(returns the rendered XHTML of the page only)
Configuration files
conf/dokuwiki.phpDefault settingsconf/local.phpUser-defined settingsconf/entities.confCustom typography conversion rules
Keyboard shortcuts
On Mac, use Ctrl instead of Alt.
In Firefox, use Alt+Shift.
Alt+EOpen the current page in edit modeAlt+VOpen the current page in view modeAlt+OShow old revisions of the current pageAlt+RShow recent changesAlt+FSet the cursor to the search fieldAlt+HOpen the start pageAlt+XOpen the index page
The latest version of the cheat sheet is available at http://www.nothickmanuals.info/doku.php/cheatsheets