DOKUWIKI Native Syntax
In this page most of the Dokuwiki syntax is covered. Special Synatx as per Mikio Toolbar is here.
Regular
- Bold Letters needs to be surrounded like **bold** Result bold
- Italic Letters needs to be surrounded like //Italic// Result Italic
- For Underlined letters use double underscore __Underlined__ Result Underlined
- For Red colored text use double single quotes ''red'' Result
red - For full line to be in
redstart the line with two or more spaces.
- For Strikeout use <del>deleted</del> Result
deleted
- For internal Links use folder name : page name then Pipe and link display text [[wiki:A|Page A]] Result Page A
- You can create links for non existing pages as well, Page B is such an example.
- For image use double image insertion tool in the toolbar. {{:wiki:logo.png?nolink&50|}}
- For External link use the external link insertion tool in the toolbar.
- Headings are written with surrounding = singes 6= is H1, 5= is h2, 4= is h3, 3= is h4, & 2= is h5 like ===H4===
- Unordered list is made by double space & a *
- Ordered list is made by double space & a - (dash)
- With double Enter Button Paragraph starts from very next line
- If you want to insert a blank line use double back slash like \\
- Table Formatting Each line should start on New Line
^ 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 3 | Result
| Heading 1 | Heading 2 | Heading 3 |
|---|---|---|
| Row 1 Col 1 sdfs | 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 3 | |
- In a Table surround field value with double space for center alignment.
- In a Table start field value with double space for right alignment.
- In a Table end field value with double space for left alignment.
Others
- For Subscript use <sub>subscript </sub> Result subscript
- For Superscript use <sup>subscript</sup> Result superscript
- This is Syntax for special arrows -> <- <-> => <= <=> >> << -- --- 640x480 (c) (tm) (r) Result → ← ↔ ⇒ ⇐ ⇔ » « – — 640×480 © ™ ®
- This is Special formatting However each line should start as new
I think we should do it
> No we shouldn't
>> Well, I say we should
> Really?
>> Yes!
>>> Then lets do it! Result
I think we should do it
No we shouldn'tWell, I say we shouldReally?
Yes!Then lets do it!
Special For Coding
For Writing codes with highlighting use. Replace java with the language name like php etc
<code java>/**
* 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.
}
}</code> Result
/** * 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. }[[wiki:A]] }
This code can be made downloadable with
<file java demo.js>/**
* 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.
}
}</file> Result
- demo.js
/** * 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. }[[wiki:A]] }