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 [2026/07/26 16:36] – [Tables] Simon Grantwiki:syntax [2026/08/17 22:24] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +See [[doc:start|more documentation]] 
 +
 ====== Formatting Syntax ====== ====== Formatting Syntax ======
  
Line 7: Line 9:
 DokuWiki supports **bold**, //italic//, __underlined__ and ''monospaced'' texts. Of course you can **__//''combine''//__** all these. DokuWiki supports **bold**, //italic//, __underlined__ and ''monospaced'' texts. Of course you can **__//''combine''//__** all these.
  
-     DokuWiki supports **bold**, //italic//, __underlined__ and ''monospaced'' texts.  +    DokuWiki supports **bold**, //italic//, __underlined__ and ''monospaced'' texts.  
     Of course you can **__//''combine''//__** all these.     Of course you can **__//''combine''//__** all these.
  
-Note that the formatting markers have to directly enclose the text, so ''%%** bold **%%'' with spaces inside the markers will not be formatted.+Note that the formatting markers have to directly enclose the text, with no space, so ''%%** bold **%%'' with spaces inside the markers will not be formatted.
  
-You can use <sub>subscript</sub> and <sup>superscript</sup>, too.+You can use <sub>subscript</sub> and <sup>superscript</sup>, too. This is DokuWiki (and MediaWiki).
  
-    You can use <sub>subscript</sub> and <sup>superscript</sup>, too.+    You can use <sub>subscript</sub> and <sup>superscript</sup>, too. This is DokuWiki (and MediaWiki).
  
 You can mark something as <del>deleted</del> as well. You can mark something as <del>deleted</del> as well.
Line 412: Line 414:
 ===== Code Blocks ===== ===== Code Blocks =====
  
-You can include code blocks into your documents by either indenting them by at least two spaces (like used for the previous examples) or by using the tags ''%%<code>%%'' or ''%%<file>%%''.+You can include code blocks into your documents by either indenting them by at least four spaces (like used for the previous examples) or by using the tags ''%%<code>%%'' or ''%%<file>%%''.
  
-  This is text is indented by two spaces.+    This is text is indented by four spaces.
  
 <code> <code>
Line 426: Line 428:
 Those blocks were created by this source: Those blocks were created by this source:
  
-    This is text is indented by two spaces.+      This is text is indented by four spaces.
  
-  <code> +    <code> 
-  This is preformatted code all spaces are preserved: like              <-this +    This is preformatted code all spaces are preserved: like              <-this 
-  </code>+    </code>
  
-  <file> +    <file> 
-  This is pretty much the same, but you could use it to show that you quoted a file. +    This is pretty much the same, but you could use it to show that you quoted a file. 
-  </file>+    </file>
  
 ==== Syntax Highlighting ==== ==== Syntax Highlighting ====
  • wiki/syntax.1785083809.txt.gz
  • Last modified: 2026/07/26 16:36
  • by Simon Grant