wiki:syntax
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen der Seite angezeigt.
| Beide Seiten, vorherige ÜberarbeitungVorherige Überarbeitung | |||
| wiki:syntax [07/01/2023 18:52] – ↷ Links angepasst weil Seiten im Wiki verschoben wurden vince | wiki:syntax [16/03/2024 14:40] (aktuell) – Externe Bearbeitung 127.0.0.1 | ||
|---|---|---|---|
| Zeile 5: | Zeile 5: | ||
| ===== Basic Text Formatting ===== | ===== Basic Text Formatting ===== | ||
| - | [[:DokuWiki]] supports **bold**, //italic//, __underlined__ and '' | + | DokuWiki supports **bold**, //italic//, __underlined__ and '' |
| DokuWiki supports **bold**, //italic//, __underlined__ and '' | DokuWiki supports **bold**, //italic//, __underlined__ and '' | ||
| Zeile 32: | Zeile 32: | ||
| ===== Links ===== | ===== Links ===== | ||
| - | [[:DokuWiki]] supports multiple ways of creating links. | + | DokuWiki supports multiple ways of creating links. |
| ==== External ==== | ==== External ==== | ||
| Zeile 65: | Zeile 65: | ||
| * Links to [[syntax|existing pages]] are shown in a different style from [[nonexisting]] ones. | * Links to [[syntax|existing pages]] are shown in a different style from [[nonexisting]] ones. | ||
| - | * [[:DokuWiki]] does not use [[wp> | + | * DokuWiki does not use [[wp> |
| * When a section' | * When a section' | ||
| ==== Interwiki ==== | ==== Interwiki ==== | ||
| - | [[:DokuWiki]] supports [[doku> | + | DokuWiki supports [[doku> |
| DokuWiki supports [[doku> | DokuWiki supports [[doku> | ||
| Zeile 137: | Zeile 137: | ||
| 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/ |
| Zeile 167: | Zeile 167: | ||
| ==== Supported Media Formats ==== | ==== Supported Media Formats ==== | ||
| - | [[:DokuWiki]] can embed the following media formats directly. | + | DokuWiki can embed the following media formats directly. |
| | Image | '' | | Image | '' | ||
| Zeile 190: | Zeile 190: | ||
| {{video.mp4|A funny video}} | {{video.mp4|A funny video}} | ||
| - | When you upload a '' | + | When you upload a '' |
| - | Additionally | + | Additionally DokuWiki supports a " |
| ===== Lists ===== | ===== Lists ===== | ||
| Zeile 224: | Zeile 224: | ||
| ===== Text Conversions ===== | ===== Text Conversions ===== | ||
| - | [[:DokuWiki]] can convert certain pre-defined characters or strings into images or other text or HTML. | + | DokuWiki can convert certain pre-defined characters or strings into images or other text or HTML. |
| The text to image conversion is mainly done for smileys. And the text to HTML conversion is used for typography replacements, | The text to image conversion is mainly done for smileys. And the text to HTML conversion is used for typography replacements, | ||
| Zeile 230: | Zeile 230: | ||
| ==== Text to Image Conversions ==== | ==== Text to Image Conversions ==== | ||
| - | [[:DokuWiki]] converts commonly used [[wp> | + | DokuWiki converts commonly used [[wp> |
| * 8-) %% 8-) %% | * 8-) %% 8-) %% | ||
| Zeile 256: | Zeile 256: | ||
| ==== 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: [[DokuWiki]] can convert simple text characters to their typographically correct entities. Here is an example of recognized characters. |
| -> <- <-> => <= <=> >> << -- --- 640x480 (c) (tm) (r) | -> <- <-> => <= <=> >> << -- --- 640x480 (c) (tm) (r) | ||
| Zeile 302: | Zeile 302: | ||
| ===== Tables ===== | ===== Tables ===== | ||
| - | [[:DokuWiki]] supports a simple syntax to create tables. | + | DokuWiki supports a simple syntax to create tables. |
| ^ Heading 1 ^ Heading 2 ^ Heading 3 ^ | ^ Heading 1 ^ Heading 2 ^ Heading 3 ^ | ||
| Zeile 404: | Zeile 404: | ||
| ==== Syntax Highlighting ==== | ==== Syntax Highlighting ==== | ||
| - | [[:dokuwiki]] can highlight sourcecode, which makes it easier to read. It uses the [[http:// | + | [[wiki:DokuWiki]] can highlight sourcecode, which makes it easier to read. It uses the [[http:// |
| <code java> | <code java> | ||
| Zeile 437: | 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 ===== | ||
| - | [[:dokuwiki]] can integrate data from external XML feeds. For parsing the XML feeds, [[http:// | + | [[DokuWiki]] can integrate data from external XML feeds. For parsing the XML feeds, [[http:// |
| ^ Parameter | ^ Parameter | ||
| Zeile 497: | 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: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 '' | By default the feed will be sorted by date, newest items first. You can sort it by oldest first using the '' | ||
| Zeile 514: | Zeile 463: | ||
| ===== Control Macros ===== | ===== Control Macros ===== | ||
| - | Some syntax influences how [[:DokuWiki]] renders a page without creating any output it self. The following control macros are availble: | + | Some syntax influences how DokuWiki renders a page without creating any output it self. The following control macros are availble: |
| ^ Macro ^ Description | | ^ Macro ^ Description | | ||
| | %%~~NOTOC~~%% | | %%~~NOTOC~~%% | ||
| - | | %%~~NOCACHE~~%% | [[:DokuWiki]] caches all output by default. Sometimes this might not be wanted (eg. when the %%< | + | | %%~~NOCACHE~~%% | DokuWiki caches all output by default. Sometimes this might not be wanted (eg. when the %%< |
| ===== Syntax Plugins ===== | ===== Syntax Plugins ===== | ||
| - | [[:DokuWiki]]'s syntax can be extended by [[doku> | + | DokuWiki' |
| ~~INFO: | ~~INFO: | ||
wiki/syntax.1673113965.txt.gz · Zuletzt geändert: von vince
