Benutzer-Werkzeuge

Webseiten-Werkzeuge


wiki:syntax

====== Unterschiede ====== Hier werden die Unterschiede zwischen zwei Versionen gezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen Revision Vorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
wiki:syntax [2018/02/19 13:30]
walterk ↷ Links angepasst weil Seiten im Wiki verschoben wurden
wiki:syntax [2018/02/19 14:03] (aktuell)
walterk ↷ Links angepasst weil Seiten im Wiki verschoben wurden
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 [[z:z: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 =====
Zeile 99: Zeile 99:
   [[http://​php.net|{{wiki:​dokuwiki-128.png}}]]   [[http://​php.net|{{wiki:​dokuwiki-128.png}}]]
  
-[[http://​php.net|{{z:wiki:​dokuwiki-128.png}}]]+[[http://​php.net|{{wiki:​dokuwiki-128.png}}]]
  
 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.
Zeile 131: Zeile 131:
 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.
  
-Real size:                        {{z:wiki:​dokuwiki-128.png}}+Real size:                        {{wiki:​dokuwiki-128.png}}
  
-Resize to given width: ​           {{z:wiki:​dokuwiki-128.png?​50}}+Resize to given width: ​           {{wiki:​dokuwiki-128.png?​50}}
  
-Resize to given width and height((when the aspect ratio of the given width and height doesn'​t match that of the image, it will be cropped to the new ratio before resizing)): {{z:wiki:​dokuwiki-128.png?​200x50}}+Resize to given width and height((when the aspect ratio of the given width and height doesn'​t match that of the image, it will be cropped to the new ratio before resizing)): {{wiki:​dokuwiki-128.png?​200x50}}
  
 Resized external image: ​          ​{{http://​php.net/​images/​php.gif?​200x50}} Resized external image: ​          ​{{http://​php.net/​images/​php.gif?​200x50}}
Zeile 147: Zeile 147:
 By using left or right whitespaces you can choose the alignment. By using left or right whitespaces you can choose the alignment.
  
-{{ z:wiki:​dokuwiki-128.png}}+{{ wiki:​dokuwiki-128.png}}
  
-{{z:wiki:​dokuwiki-128.png }}+{{wiki:​dokuwiki-128.png }}
  
-{{ z:wiki:​dokuwiki-128.png }}+{{ wiki:​dokuwiki-128.png }}
  
   {{ wiki:​dokuwiki-128.png}}   {{ wiki:​dokuwiki-128.png}}
Zeile 159: Zeile 159:
 Of course, you can add a title (displayed as a tooltip by most browsers), too. Of course, you can add a title (displayed as a tooltip by most browsers), too.
  
-{{ z:wiki:​dokuwiki-128.png |This is the caption}}+{{ wiki:​dokuwiki-128.png |This is the caption}}
  
   {{ wiki:​dokuwiki-128.png |This is the caption}}   {{ wiki:​dokuwiki-128.png |This is the caption}}
Zeile 180: Zeile 180:
   {{wiki:​dokuwiki-128.png?​linkonly}}   {{wiki:​dokuwiki-128.png?​linkonly}}
  
-{{z:wiki:​dokuwiki-128.png?​linkonly}} This is just a link to the image.+{{wiki:​dokuwiki-128.png?​linkonly}} This is just a link to the image.
  
 ==== Fallback Formats ==== ==== Fallback Formats ====
Zeile 403: Zeile 403:
 ==== Syntax Highlighting ==== ==== Syntax Highlighting ====
  
-[[z:wiki:​dokuwiki]] can highlight sourcecode, which makes it easier to read. It uses the [[http://​qbnz.com/​highlighter/​|GeSHi]] Generic Syntax Highlighter -- so any language supported by GeSHi is supported. The syntax uses the same code and file blocks described in the previous section, but this time the name of the language syntax to be highlighted is included inside the tag, e.g. ''<​nowiki><​code java></​nowiki>''​ or ''<​nowiki><​file java></​nowiki>''​.+[[wiki:​dokuwiki]] can highlight sourcecode, which makes it easier to read. It uses the [[http://​qbnz.com/​highlighter/​|GeSHi]] Generic Syntax Highlighter -- so any language supported by GeSHi is supported. The syntax uses the same code and file blocks described in the previous section, but this time the name of the language syntax to be highlighted is included inside the tag, e.g. ''<​nowiki><​code java></​nowiki>''​ or ''<​nowiki><​file java></​nowiki>''​.
  
 <code java> <code java>
Zeile 498: Zeile 498:
 | //n//[dhm] | refresh period, where d=days, h=hours, m=minutes. (e.g. 12h = 12 hours). | | //n//[dhm] | refresh period, where d=days, h=hours, m=minutes. (e.g. 12h = 12 hours). |
  
-The refresh period defaults to 4 hours. Any value below 10 minutes will be treated as 10 minutes. [[z:wiki:​dokuwiki]] will generally try to supply a cached version of a page, obviously this is inappropriate when the page contains dynamic external content. The parameter tells [[z:wiki:​dokuwiki]] to re-render the page if it is more than //refresh period// since the page was last rendered.+The refresh period defaults to 4 hours. Any value below 10 minutes will be treated as 10 minutes. [[wiki:​dokuwiki]] will generally try to supply a cached version of a page, obviously this is inappropriate when the page contains dynamic external content. The parameter tells [[wiki:​dokuwiki]] to re-render the page if it is more than //refresh period// since the page was last rendered.
  
 By default the feed will be sorted by date, newest items first. You can sort it by oldest first using the ''​reverse''​ parameter, or display the feed as is with ''​nosort''​. By default the feed will be sorted by date, newest items first. You can sort it by oldest first using the ''​reverse''​ parameter, or display the feed as is with ''​nosort''​.
wiki/syntax.1519043432.txt.gz · Zuletzt geändert: 2018/02/19 13:30 von walterk