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 [2026/04/23 08:40] – [> No we shouldn't] garfieldwiki:syntax [2026/04/26 10:34] (current) – [Lists] janw
Line 1: Line 1:
-====== Formatting Syntax ======+Formatting Syntax #
  
 [[doku>DokuWiki]] supports some simple markup language, which tries to make the datafiles to be as readable as possible. This page contains all possible syntax you may use when editing the pages. Simply have a look at the source of this page by pressing "Edit this page". If you want to try something, just use the [[playground:playground|playground]] page. The simpler markup is easily accessible via [[doku>toolbar|quickbuttons]], too. [[doku>DokuWiki]] supports some simple markup language, which tries to make the datafiles to be as readable as possible. This page contains all possible syntax you may use when editing the pages. Simply have a look at the source of this page by pressing "Edit this page". If you want to try something, just use the [[playground:playground|playground]] page. The simpler markup is easily accessible via [[doku>toolbar|quickbuttons]], too.
  
-===== Basic Text Formatting =====+## Basic Text Formatting ##
  
 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.
Line 129: Line 129:
  
 You can use up to five different levels of headlines to structure your content. If you have more than three headlines, a table of contents is generated automatically -- this can be disabled by including the string ''<nowiki>~~NOTOC~~</nowiki>'' in the document. You can use up to five different levels of headlines to structure your content. If you have more than three headlines, a table of contents is generated automatically -- this can be disabled by including the string ''<nowiki>~~NOTOC~~</nowiki>'' in the document.
 +### Headline Level 3
 +#### Headline Level 4
 +##### Headline Level 5
  
-==== Headline Level 3 ==== +  ### Headline Level 3 
-=== Headline Level 4 === +  #### Headline Level 4 
-== Headline Level 5 ==+  ##### Headline Level 5
  
-  ==== Headline Level 3 ==== +By using four or more dashes `----`, you can make a horizontal line:
-  === Headline Level 4 === +
-  == Headline Level 5 == +
- +
-By using four or more dashes, you can make a horizontal line:+
  
 ---- ----
  
-===== Media Files =====+## Media Files ##
  
 You can include external and internal [[doku>images|images, videos and audio files]] with curly brackets. Optionally you can specify the size of them. You can include external and internal [[doku>images|images, videos and audio files]] with curly brackets. Optionally you can specify the size of them.
Line 180: Line 179:
 For linking an image to another page see [[#Image Links]] above. For linking an image to another page see [[#Image Links]] above.
  
-==== Supported Media Formats ====+### Supported Media Formats ###
  
 DokuWiki can embed the following media formats directly. DokuWiki can embed the following media formats directly.
Line 208: Line 207:
  
 Additionally DokuWiki supports a "poster" image which will be shown before the video has started. That image needs to have the same filename as the video and be either a jpg or png file. In the example above a ''video.jpg'' file would work. Additionally DokuWiki supports a "poster" image which will be shown before the video has started. That image needs to have the same filename as the video and be either a jpg or png file. In the example above a ''video.jpg'' file would work.
- +## Lists ##
-===== Lists =====+
  
 Dokuwiki supports ordered and unordered lists. To create a list item, indent your text by two spaces and use a ''*'' for unordered lists or a ''-'' for ordered ones. Dokuwiki supports ordered and unordered lists. To create a list item, indent your text by two spaces and use a ''*'' for unordered lists or a ''-'' for ordered ones.
  
-  * This is a list +#### unordered List ####
-  * The second item +
-    * You may have different levels +
-  * Another item+
  
-  - The same list but ordered +* This is a list 
-  Another item +* The second item 
-    Just use indention for deeper levels +  * You may have different levels 
-  That's it+* Another item  
 + 
 +#### ordered List #### 
 + 
 +1. The same list but ordered 
 +2. Another item  
 +  1. Just use indention for deeper levels  
 +3. That's it 
  
 <code> <code>
 +
   * This is a list   * This is a list
   * The second item   * The second item
     * You may have different levels     * You may have different levels
-  * Another item +  * Another item  
- +   
-  The same list but ordered +  1. The same list but ordered  
-  Another item +  2. Another item  
-    Just use indention for deeper levels +    1. Just use indention for deeper levels  
-  That's it+  3. That's it  
 +    
 </code> </code>
  
wiki/syntax.1776926414.txt.gz · Last modified: by garfield