wiki:syntax

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen Revision Vorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
wiki:syntax [2020/04/30 13:45]
Barbara Meissner [Formatting Syntax]
wiki:syntax [2022/10/06 14:05]
linhardja Inhalt veraltet, daher gelöscht
Zeile 100: 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 191: 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 258: 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 270: 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 =====