wiki:syntax

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Nächste Überarbeitung
Vorhergehende Überarbeitung
wiki:syntax [2018/12/13 16:23]
127.0.0.1 Externe Bearbeitung
wiki:syntax [2022/10/06 14:05]
linhardja Inhalt veraltet, daher gelöscht
Zeile 1: Zeile 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.+[[https://​www.dokuwiki.org/​de:​wiki:​syntax|Diese Inhalte als deutsche Seite]] 
 + 
 +[[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|]] page. The simpler markup is easily accessible via [[doku>​toolbar|quickbuttons]],​ too. 
  
 ===== Basic Text Formatting ===== ===== Basic Text Formatting =====
Zeile 97: Zeile 100:
 You can also use an image to link to another internal or external page by combining the syntax for links and [[#​images_and_other_files|images]] (see below) like this: You can also use an image to link to another internal or external page by combining the syntax for links and [[#​images_and_other_files|images]] (see below) like this:
  
-  [[http://​php.net|{{wiki:​dokuwiki-128.png}}]] +<​code>​
 [[http://​php.net|{{wiki:​dokuwiki-128.png}}]] [[http://​php.net|{{wiki:​dokuwiki-128.png}}]]
 +</​code>​
 +
 +[[http://​php.net|{{:​wiki:​dokuwiki-128.png?​nolink&​}}]]
  
 Please note: The image formatting is the only formatting syntax accepted in link names. Please note: The image formatting is the only formatting syntax accepted in link names.
  
-The whole [[#​images_and_other_files|image]] and [[#​links|link]] syntax is supported (including image resizing, internal and external images and URLs and interwiki links).+The whole [[#​images_and_other_files|image]] and [[#​links|link]] syntax is supported (including image resizing, internal and external images and URLs and interwiki links). ​<div id="​SzNameOfAnchorHere">​optional text</​div>​ 
  
 ===== Footnotes ===== ===== Footnotes =====
Zeile 188: Zeile 194:
 For example consider this embedded mp4 video: For example consider this embedded mp4 video:
  
-  ​{{video.mp4|A funny video}}+<​code>​ 
 +{{video.mp4|A funny video}} 
 +</​code>​
  
 When you upload a ''​video.webm''​ and ''​video.ogv''​ next to the referenced ''​video.mp4'',​ DokuWiki will automatically add them as alternatives so that one of the three files is understood by your browser. When you upload a ''​video.webm''​ and ''​video.ogv''​ next to the referenced ''​video.mp4'',​ DokuWiki will automatically add them as alternatives so that one of the three files is understood by your browser.
  
 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 =====
Zeile 255: Zeile 264:
 ==== Text to HTML Conversions ==== ==== Text to HTML Conversions ====
  
-Typography: [[DokuWiki]] can convert simple text characters to their typographically correct entities. Here is an example of recognized characters.+Typography: [[:​wiki:​dokuwiki|DokuWiki]] can convert simple text characters to their typographically correct entities. Here is an example of recognized characters.
  
--> <- <-> => <= <=> >> << ​-- --- 640x480 (c) (tm) (r) +→ <- <→ ⇒ <= <⇒ >> << ​– — 640×480 © ™ ® "He thought '​It'​s a man's world'"
-"He thought '​It'​s a man's world'..."+
  
 <​code>​ <​code>​
--> <- <-> => <= <=> >> << -- --- 640x480 (c) (tm) (r)+-> <- <-> => <= <​=>>>​ <<-- --- 640x480 (c) (tm) (r)
 "He thought '​It'​s a man's world'​..."​ "He thought '​It'​s a man's world'​..."​
 </​code>​ </​code>​
Zeile 267: Zeile 275:
 The same can be done to produce any kind of HTML, it just needs to be added to the [[doku>​entities|pattern file]]. The same can be done to produce any kind of HTML, it just needs to be added to the [[doku>​entities|pattern file]].
  
-There are three exceptions which do not come from that pattern file: multiplication entity (640x480), '​single'​ and "​double quotes"​. They can be turned off through a [[doku>​config:​typography|config option]].+There are three exceptions which do not come from that pattern file: multiplication entity (640×480), '​single'​ and "​double quotes"​. They can be turned off through a [[doku>​config:​typography|config option]]. 
  
 ===== Quoting ===== ===== Quoting =====