Table of Contents
Formatting Syntax
Basic Text Formatting
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 mark something as <del>deleted</del> as well.
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.
Links
External
DokuWiki supports multiple ways of creating links. External links are recognized automagically: http://www.google.com or simply www.google.com - You can set link text as well: [[ http://www.google.com |This Link points to google]]. 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 [[pagename]] or use an additional [[pagename|link text]].
You can use [[some:namespaces]] by using a colon in the pagename.
This links to [[syntax#internal|this Section]].
When a section's heading is changed, its bookmark changes, too. So don't rely on section linking too much.
Interwiki
DokuWiki supports [[doku>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 [[\\server\share|this]] are recognized, too.
For security reasons direct browsing of windows shares only works in Microsoft Internet Explorer per default (and only in the “local zone”). For Mozilla and Firefox it can be enabled through different workaround mentioned in the Mozilla Knowledge Base . However, there will still be a JavaScript warning about trying to open a Windows Share. To remove this warning (for all users), put the following line in conf/lang/en/lang.php (more details at localization ): -
conf/lang/en/lang.php <? php /** * Customization of the english language file * Copy only the strings that needs to be modified */ $lang['js']['nosmblinks'] = '';
-
Image Links
[[ http://php.net |{{wiki:dokuwiki-128.png}}]]
Footnotes
You can add footnotes ((This is a footnote)) by using double parentheses.
Sectioning
Headline Level 3
Headline Level 4
Headline Level 5
==== Headline Level 3 ==== === Headline Level 4 === == Headline Level 5 ==
Media Files
Real size: {{wiki:dokuwiki-128.png}} Resize to given width: {{wiki:dokuwiki-128.png?50}} Resize to given width and height: {{wiki:dokuwiki-128.png?200x50}} Resized external image: {{ https://www.php.net/images/php.gif?200x50 }}
{{ wiki:dokuwiki-128.png}} {{wiki:dokuwiki-128.png }} {{ wiki:dokuwiki-128.png }}
{{ wiki:dokuwiki-128.png |This is the caption}}
Supported Media Formats
| |
| |
| |
| |
{{wiki:dokuwiki-128.png?linkonly}}
Fallback Formats
{{video.mp4|A funny video}}
Lists
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
That's it
* 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 - That's it
Text Conversions
Text to Image Conversions
8-) 8-O :-( :-) =) :-/ :-\ :-? :-D :-P :-O :-X :-| ;-) ^_^ m( :?: :!: LOL FIXME DELETEME
Text to HTML Conversions
-> <- <-> => <= <=> >> << -- --- 640x480 (c) (tm) (r) "He thought 'It's a man's world'..."
Quoting
I think we should do it > No we shouldn't >> Well, I say we should > Really? >> Yes! >>> Then lets do it!
No we shouldn't
Well, I say we should
Really?
Yes!
Then lets do it!
Tables
| | |
---|---|---|
| | |
| |
|
| | |
^ Heading 1 ^ Heading 2 ^ Heading 3 ^ | Row 1 Col 1 | Row 1 Col 2 | Row 1 Col 3 | | Row 2 Col 1 | some colspan (note the double pipe) || | Row 3 Col 1 | Row 3 Col 2 | Row 3 Col 3 |
| |
|
---|---|---|
| | |
| | |
| | |
| ^ Heading 1 ^ Heading 2 ^ ^ Heading 3 | Row 1 Col 2 | Row 1 Col 3 | ^ Heading 4 | no colspan this time | | ^ Heading 5 | Row 2 Col 2 | Row 2 Col 3 |
| | |
---|---|---|
| | |
| |
|
| |
^ Heading 1 ^ Heading 2 ^ Heading 3 ^ | Row 1 Col 1 | this cell spans vertically | Row 1 Col 3 | | Row 2 Col 1 | ::: | Row 2 Col 3 | | Row 3 Col 1 | ::: | Row 2 Col 3 |
|
||
---|---|---|
| | |
| | |
| | |
^ Table with alignment ^^^ | right| center |left | |left | right| center | | xxxxxxxxxxxx | xxxxxxxxxxxx | xxxxxxxxxxxx |
No Formatting
<nowiki> This is some text which contains addresses like this: http://www.splitbrain.org and **formatting**, but nothing is done with it. </nowiki> The same is true for %%//__this__ text// with a smiley ;-)%%.
Code Blocks
This is text is indented by two spaces.
This is preformatted code all spaces are preserved: like <-this
This is pretty much the same, but you could use it to show that you quoted a file.
This is text is indented by two spaces.
<code> This is preformatted code all spaces are preserved: like <-this </code>
<file> This is pretty much the same, but you could use it to show that you quoted a file. </file>
Syntax Highlighting
/** * The HelloWorldApp class implements an application that * simply displays "Hello World!" to the standard output. */ class HelloWorldApp { public static void main ( String [ ] args ) { System . out . println ( "Hello World!" ) ; //Display the string. } }
Downloadable Code Blocks
<file php myexample.php> <? php echo "hello world! "; ?> </file>
-
myexample.php <? php echo "hello world!" ; ?>
RSS/ATOM Feed Aggregation
| |
---|---|
| |
| |
| |
| |
| |
| |
| |
{{rss> http://slashdot.org/index.rss 5 author date 1h }}
Tech Giants Push To Dilute Europe's AI Act by msmash (2024-09-21 14:31) US Awards $3 Billion To Boost Domestic Battery Production by msmash (2024-09-21 13:01) Antarctic 'Doomsday Glacier' Melting Faster, Scientists Warn by msmash (2024-09-21 09:31) 'Butterfly Emergency' Declared as UK Summer Count Hits Record Low by msmash (2024-09-21 06:30) Internet Surveillance Firm Sandvine Says It's Leaving 56 'Non-Democratic' Countries by msmash (2024-09-21 03:13)
Control Macros
| |
---|---|
| |
| |
Syntax Plugins
Gallery Plugin 2023-12-08 by Andreas Gohr
Creates a gallery of images from a namespace or RSS/ATOM feed Repository plugin 2024-02-09 by Andreas Gohr/Håkan Sandell
Helps organizing the plugin and template repository