wiki:syntax
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
| Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende Überarbeitung | ||
| wiki:syntax [2021/10/31 14:44] – ↷ Seite von syntax nach wiki:syntax verschoben Thomi Mathis | wiki:syntax [2025/06/18 14:15] (aktuell) – Externe Bearbeitung 127.0.0.1 | ||
|---|---|---|---|
| Zeile 99: | Zeile 99: | ||
| [[http:// | [[http:// | ||
| - | [[http:// | + | [[http:// |
| 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> | You can include external and internal [[doku> | ||
| - | Real size: {{dokuwiki-128.png}} | + | Real size: {{wiki:dokuwiki-128.png}} |
| - | Resize to given width: | + | Resize to given width: |
| - | Resize to given width and height((when the aspect ratio of the given width and height doesn' | + | Resize to given width and height((when the aspect ratio of the given width and height doesn' |
| - | Resized external image: {{https://secure.php.net/ | + | Resized external image: {{https://www.php.net/ |
| Real size: {{wiki: | Real size: {{wiki: | ||
| Resize to given width: | Resize to given width: | ||
| Resize to given width and height: {{wiki: | Resize to given width and height: {{wiki: | ||
| - | Resized external image: {{https://secure.php.net/ | + | Resized external image: {{https://www.php.net/ |
| By using left or right whitespaces you can choose the alignment. | By using left or right whitespaces you can choose the alignment. | ||
| - | {{ dokuwiki-128.png}} | + | {{ wiki:dokuwiki-128.png}} |
| - | {{dokuwiki-128.png }} | + | {{wiki:dokuwiki-128.png }} |
| - | {{ dokuwiki-128.png }} | + | {{ wiki:dokuwiki-128.png }} |
| {{ wiki: | {{ wiki: | ||
| 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. | ||
| - | {{ dokuwiki-128.png |This is the caption}} | + | {{ wiki:dokuwiki-128.png |This is the caption}} |
| {{ wiki: | {{ wiki: | ||
| Zeile 180: | Zeile 180: | ||
| {{wiki: | {{wiki: | ||
| - | {{dokuwiki-128.png? | + | {{wiki:dokuwiki-128.png? |
| ==== Fallback Formats ==== | ==== Fallback Formats ==== | ||
| Zeile 247: | Zeile 247: | ||
| * ;-) %% ;-) %% | * ;-) %% ;-) %% | ||
| * ^_^ %% ^_^ %% | * ^_^ %% ^_^ %% | ||
| + | * m( %% m( %% | ||
| * :?: %% :?: %% | * :?: %% :?: %% | ||
| * :!: %% :!: %% | * :!: %% :!: %% | ||
| Zeile 403: | Zeile 404: | ||
| ==== Syntax Highlighting ==== | ==== Syntax Highlighting ==== | ||
| - | [[dokuwiki]] can highlight sourcecode, which makes it easier to read. It uses the [[http:// | + | [[wiki: |
| <code java> | <code java> | ||
| Zeile 436: | Zeile 437: | ||
| If you don't want any highlighting but want a downloadable file, specify a dash ('' | If you don't want any highlighting but want a downloadable file, specify a dash ('' | ||
| - | |||
| - | |||
| - | ===== Embedding HTML and PHP ===== | ||
| - | |||
| - | You can embed raw HTML or PHP code into your documents by using the '' | ||
| - | |||
| - | HTML example: | ||
| - | |||
| - | < | ||
| - | < | ||
| - | This is some <span style=" | ||
| - | </ | ||
| - | < | ||
| - | <p style=" | ||
| - | </ | ||
| - | </ | ||
| - | |||
| - | < | ||
| - | This is some <span style=" | ||
| - | </ | ||
| - | < | ||
| - | <p style=" | ||
| - | </ | ||
| - | |||
| - | PHP example: | ||
| - | |||
| - | < | ||
| - | <php> | ||
| - | echo 'The PHP version: '; | ||
| - | echo phpversion(); | ||
| - | echo ' (generated inline HTML)'; | ||
| - | </ | ||
| - | <PHP> | ||
| - | echo '< | ||
| - | echo '< | ||
| - | echo '</ | ||
| - | </ | ||
| - | </ | ||
| - | |||
| - | <php> | ||
| - | echo 'The PHP version: '; | ||
| - | echo phpversion(); | ||
| - | echo ' (inline HTML)'; | ||
| - | </ | ||
| - | <PHP> | ||
| - | echo '< | ||
| - | echo '< | ||
| - | echo '</ | ||
| - | </ | ||
| - | |||
| - | **Please Note**: HTML and PHP embedding is disabled by default in the configuration. If disabled, the code is displayed instead of executed. | ||
| ===== RSS/ATOM Feed Aggregation ===== | ===== RSS/ATOM Feed Aggregation ===== | ||
| Zeile 496: | Zeile 446: | ||
| | author | | author | ||
| | date | show item dates | | | date | show item dates | | ||
| - | | description| show the item description. | + | | description| show the item description. |
| | nosort | | nosort | ||
| | //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. [[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 [[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: |
| By default the feed will be sorted by date, newest items first. You can sort it by oldest first using the '' | By default the feed will be sorted by date, newest items first. You can sort it by oldest first using the '' | ||
wiki/syntax.1635687894.txt.gz · Zuletzt geändert: (Externe Bearbeitung)
