User Tools

Site Tools


wiki_syntax

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
wiki_syntax [2017/04/12 03:26]
Bhagwati Gupta
wiki_syntax [2017/04/16 14:53] (current)
Bhagwati Gupta
Line 1: Line 1:
-===== DokuWiki Syntax =====+====== DokuWiki Syntax ======
  
-==== Standard Dokuwiki features ==== +===== Standard Dokuwiki features ===== 
-**Formatting text**\\+==== Formatting text ====
 Superscript (e.g., Ca<sup>2+</sup>) and subscript (e.g., H<sub>2</sub>O)\\ Superscript (e.g., Ca<sup>2+</sup>) and subscript (e.g., H<sub>2</sub>O)\\
 <code> <code>
Line 14: Line 14:
 \\ \\ \\ \\
  
 +
 +
 +----
 {{anchor:plugins}} {{anchor:plugins}}
-==== Plugin related ==== +===== Plugin related ===== 
-**anchor**\\+==== anchor ====
 [[https://www.dokuwiki.org/plugin: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 [[#anchor|below]].\\ [[https://www.dokuwiki.org/plugin: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 [[#anchor|below]].\\
 \\ \\
  
-**DivAlign2**\\+==== DivAlign2 ====
 [[https://www.dokuwiki.org/plugin:divalign2|divalign2]] provides a means to specify paragraph alignment in DokuWiki pages, using nothing more than CSS directives. See below [[#DivAlign2|examples]] for its usage.\\ [[https://www.dokuwiki.org/plugin:divalign2|divalign2]] provides a means to specify paragraph alignment in DokuWiki pages, using nothing more than CSS directives. See below [[#DivAlign2|examples]] for its usage.\\
 \\ \\
  
-**codedoc**\\+==== codedoc ====
 [[https://www.dokuwiki.org/plugin: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 [[#codedoc|examples]] for its usage.\\ [[https://www.dokuwiki.org/plugin: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 [[#codedoc|examples]] for its usage.\\
 \\ \\
 +
 +==== include ====
 +[[https://www.dokuwiki.org/plugin:include|include]] can be used to include another wiki page into the current one. Common usage is described [[#include|below]]. For more details see the plugin page. 
 \\ \\
 +\\
 +
  
 +----
 {{anchor:anchor}} {{anchor:anchor}}
 === anchor === === anchor ===
Line 37: Line 46:
 \\ \\
  
 +
 +----
 {{anchor:DivAlign2}} {{anchor:DivAlign2}}
 === DivAlign2 === === DivAlign2 ===
Line 59: Line 70:
 \\ \\
  
 +
 +----
 {{anchor:codedoc}} {{anchor:codedoc}}
 === codedoc === === codedoc ===
Line 74: Line 87:
    . . .your code here. . .    . . .your code here. . .
 </codedoc> </codedoc>
 +</code>
 +\\
 +
 +----
 +{{anchor:include}}
 +=== include ===
 +Common syntax for //include//.\\
 +<code>
 +{{page>[id]&[flags]}}
 +
 +flags could be - 
 +- footer/nofooter
 +- date/nodate
 +- mdate/nomdate
 +- user/nouser
 +- readmore/noreadmore
 </code> </code>
 \\ \\
 \\ \\
wiki_syntax.1491967572.txt.gz · Last modified: 2017/04/12 03:26 by Bhagwati Gupta