Dokuwiki Cheatsheet
Dokuwiki Cheatsheet
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: \\
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}}
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. Syntax highlighting DokuWiki 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 includes between tags that identify the programming language, for example: <code oobas> </code> or <code java> </code>.
External links
DokuWiki recognized external URLs automatically. Link w/name: [[http://www.google.com|Go to Google]] Email address: <[email protected]> RSS feed: {{rss>http://rss.slashdot.org/Slashdot/slashdot}}
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
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)
Internal links
DokuWiki page: [[pagename]] DokuWiki page w/name: [[pagename|Page name]] DokuWiki 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]]
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
Configuration files
conf/dokuwiki.php DokuWiki default settings conf/local.php DokuWiki user-defined settings conf/entities.conf Custom typography conversion rules
Footnotes
Add footnotes by using double parentheses ((This is a footnote)).
Tables
^ Heading 1 ^ Heading 2 ^ | Row 1 Col 1 | Row 1 Col 2 | | Colspan || | Row 3 Col 1 | Row 2 Col 2 | | ^ Heading 3 ^ Heading 4 ^ Heading 5 ^ Heading 1 | Row 1 Col 2 | Row 2 Col 2 | Row 2 Col 2 ^ Heading 2 | Row 1 Col 3 | Row 2 Col 3 | Row 2 Col 3 ^ | | |
Keyboard shortcuts
On Mac, use Ctrl instead of Alt. In Firefox, use Alt+Shift Alt+E Open the current page in edit mode Alt+V Open the current page in view mode Alt+O Show old revisions of the current page Alt+R Show recent changes Alt+F Set the cursor to the search field Alt+H Open the start page Alt+X Open the index page
Headlines
====== Level 1 Headline ====== ===== Level 2 Headline ===== ==== Level 3 Headline ==== === Level 4 Headline === == Level 5 Headline == DokuWiki 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.
The latest version of the cheat sheet is available at www.nothickmanuals.info/doku.php/cheatsheets | 2007 www.lulu.com/nothickmanuals | Released under the GNU Free Documentation License