User Tools

Site Tools


wiki_syntax

DokuWiki Syntax

Standard Dokuwiki features

Formatting text

Superscript (e.g., Ca2+) and subscript (e.g., H2O)

<sub>subscript</sub> and <sup>superscript</sup>



Footnotes can be created using double parentheses. Here is an 1)example.

Here is an ((This is a footnote))example.




anchor

anchor allows HTML anchors to be added to a page. Useful when section headers are really long. Normally, links can be created for a wiki page, or a specific section header, using dokuwiki's intrinsic link feature. This is impractical when header names are long, or they might change in the future. This plugin can be used to create anchors (internal links) to any part of the page. Example is below.

DivAlign2

divalign2 provides a means to specify paragraph alignment in DokuWiki pages, using nothing more than CSS directives. See below examples for its usage.

codedoc

codedoc enables toggles for hiding and displaying code blocks; inserts html anchors for cross-referencing code; facilitates documentation, provides convenience features for marking up code, has branch with support geshi highlighting. See below examples for its usage.

include

include can be used to include another wiki page into the current one. Common usage is described below. For more details see the plugin page.


anchor

First, use {{anchor:<anchor_name>}} to create an anchor. 
Then use [[#<anchor_name>|<text to be linked>]] to add the above newly created anchor.



DivAlign2

Syntax examples for aligning text

#;;
This is aligned left.
#;;

;;#
This is aligned right.
;;#

;#;
This is aligned center.
;#;

###
This text is justified.
###



codedoc

Syntax examples for highlighting code blocks

<codedoc code> 
   . . .your code here. . .
</codedoc>

<codedoc file> 
   . . .your code here. . .
</codedoc>

<codedoc toggle description> 
   . . .your code here. . .
</codedoc>



include

Common syntax for include.

{{page>[id]&[flags]}}

flags could be - 
- footer/nofooter
- date/nodate
- mdate/nomdate
- user/nouser
- readmore/noreadmore



1)
This is a footnote
wiki_syntax.txt · Last modified: 2017/04/16 14:53 by Bhagwati Gupta

Page Tools