User Tools

Site Tools


wiki_syntax

This is an old revision of the document!


DokuWiki Syntax

internal anchors/links (within a document)
Linking to a specific section is possible by adding the section name behind a hash character. For example, here is a link to the section Plugin related.

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


plugins

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.

divalign2

DivAlign2

Syntax examples for aligning text

#;;
This is aligned left.
#;;

;;#
This is aligned right.
;;#

;#;
This is aligned center.
;#;

###
This text is justified.
###


codedoc

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>



wiki_syntax.1491966151.txt.gz · Last modified: 2017/04/12 03:02 by Bhagwati Gupta