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 revisionPrevious revision
Next revision
Previous revision
wiki_syntax [2017/04/12 03:02] 5omw78wiki_syntax [2017/04/16 14:53] (current) 5omw78
Line 1: Line 1:
-===== DokuWiki Syntax ===== +====== DokuWiki Syntax ======
- +
-==== Standard Dokuwiki related ==== +
-**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 [[#plugins|Plugin related]].\\+
  
 +===== Standard Dokuwiki features =====
 +==== Formatting text ====
 +Superscript (e.g., Ca<sup>2+</sup>) and subscript (e.g., H<sub>2</sub>O)\\
 <code> <code>
-First, use {{anchor:<anchor_name>}} to create an anchor.  +<sub>subscript</suband <sup>superscript</sup>
-Then use [[#<anchor_name>|<text to be linked>]] to add the above newly created anchor.+
 </code> </code>
-\\+\\ \\  
 +Footnotes can be created using double parentheses. Here is an ((This is a footnote))example.\\ 
 +<code> 
 +Here is an ((This is a footnote))example. 
 +</code> 
 +\\ \\
  
 +
 +
 +----
 {{anchor:plugins}} {{anchor:plugins}}
-==== Plugin related ==== +===== Plugin related ===== 
-**DivAlign2**\\+==== 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]].\\ 
 +\\ 
 + 
 +==== 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 ===
 +<code>
 +First, use {{anchor:<anchor_name>}} to create an anchor. 
 +Then use [[#<anchor_name>|<text to be linked>]] to add the above newly created anchor.
 +</code>
 +\\
 +
 +
 +----
 {{anchor:DivAlign2}} {{anchor:DivAlign2}}
 === DivAlign2 === === DivAlign2 ===
Line 43: Line 70:
 \\ \\
  
 +
 +----
 {{anchor:codedoc}} {{anchor:codedoc}}
 === codedoc === === codedoc ===
Line 58: 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.1491966151.txt.gz · Last modified: 2017/04/12 03:02 by 5omw78

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki