====== DokuWiki Syntax Cheatsheet ======
===== Text Formatting =====
^ Syntax ^ Rendered ^
| **bold** | **bold** |
| //italic// | //italic// |
| __underlined__ | __underlined__ |
| ''monospace'' | ''monospace'' |
| **//bold italic//** | **//bold italic//** |
| ~~strikethrough~~ | ~~strikethrough~~ |
Double space in front can be used to render text as monospace. Good for ascii art:
_ __ _
_ __(_) /__ (_)
| |/|/ / / '_// /
|__,__/_/_/\_\/_/
===== Headings =====
====== H1 ======
===== H2 =====
==== H3 ====
=== H4 ===
== H5 ==
===== Lists =====
* Unordered item
* Nested item
- Ordered item
- Nested item
Rendered:
* Unordered item
* Nested item
- Ordered item
- Nested item
===== Links =====
^ Syntax ^ Rendered ^
| [[start]] | [[start]] |
| [[start|Home]] | [[start|Home]] |
| [[https://freebsd.org|FreeBSD]] | [[https://freebsd.org|FreeBSD]] |
===== Code =====
''inline code''
Rendered: ''inline code''
service nginx reload
Rendered:
service nginx reload
===== Tables =====
^ Header 1 ^ Header 2 ^
| Cell 1 | Cell 2 |
| Cell 3 | Cell 4 |
Rendered:
^ Header 1 ^ Header 2 ^
| Cell 1 | Cell 2 |
| Cell 3 | Cell 4 |
===== Images =====
{{wiki:dokuwiki-128.png}}
{{wiki:dokuwiki-128.png|caption}}
{{wiki:dokuwiki-128.png?100}}
===== Namespaces =====
[[servers:sanctum]]
[[services:vaultwarden]]
Pages in namespaces show as red until created — that is normal.
===== References =====
Some text needing referencing((This is the footnote/reference text.))
Some more text((https://git.labunix.xyz accessed on: 2026-06-09))
Rendered as:
Some text needing referencing((This is the footnote/reference text.))
Some more text((https://git.labunix.xyz accessed on: 2026-06-09))
===== Images =====
{{root:labunix_log.png?200}}
some text to describe this
rendered as the image to the right
{{playground:favicon.svg?200}}
some text to describe this
needs to be uploaded and reference the correct //page// to which it was uploaded
===== Comments =====
The text /* between the slash-asterisk and asterisk-slash */ is hidden
Rendered as: The text /* between the slash-asterisk and asterisk-slash */ is hidden
You can also have multi-line comments:
/**
* @todo: rewrite this section to reflect changes made recently
*
* this is a longer note
*/
But this single line example works too:
/********** added by Esther **********/