User Tools

Site Tools


wiki_syntax

Differences

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

Link to this comparison view

Next revision
Previous revision
Last revisionBoth sides next revision
wiki_syntax [2017/04/09 04:03] – DivAlign2 codes 5omw78wiki_syntax [2017/04/12 03:36] – TOC related formatting 5omw78
Line 1: Line 1:
-==== DokuWiki syntax ==== +====== DokuWiki Syntax ====== 
-=== Text alignment === + 
-**DivAlign2** plugin\\+===== Standard Dokuwiki features ===== 
 +==== Formatting text ==== 
 +Superscript (e.g., Ca<sup>2+</sup>) and subscript (e.g., H<sub>2</sub>O)\\ 
 +<code> 
 +<sub>subscript</sub> and <sup>superscript</sup> 
 +</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}} 
 +===== Plugin related ===== 
 +==== 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]].\\
 \\ \\
-Left alignment\\ + 
-<codedoc code>+==== 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.\\ 
 +\\ 
 + 
 +==== 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.\\ 
 +\\ 
 +\\ 
 + 
 +{{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}} 
 +=== DivAlign2 === 
 +Syntax examples for aligning text\\ 
 +<code>
 #;; #;;
 This is aligned left. This is aligned left.
 #;; #;;
-</codedoc> +
-\\ +
-Right alignment\\ +
-<codedoc code>+
 ;;# ;;#
 This is aligned right. This is aligned right.
 ;;# ;;#
-</codedoc> +
-\\ +
-Center alignment\\ +
-<codedoc code>+
 ;#; ;#;
 This is aligned center. This is aligned center.
 ;#; ;#;
-</codedoc> +
-\\ +
-Justify\\ +
-<codedoc code>+
 ### ###
 This text is justified. This text is justified.
 ### ###
 +</code>
 +\\
 +
 +{{anchor:codedoc}}
 +=== codedoc ===
 +Syntax examples for highlighting code blocks\\
 +<code>
 +<codedoc code> 
 +   . . .your code here. . .
 </codedoc> </codedoc>
 +
 +<codedoc file> 
 +   . . .your code here. . .
 +</codedoc>
 +
 +<codedoc toggle description> 
 +   . . .your code here. . .
 +</codedoc>
 +</code>
 +\\
 +\\
wiki_syntax.txt · Last modified: 2017/04/16 14:53 by 5omw78

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki