Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
wiki:syntax [29/06/2023 20:34] – [Syntax Highlighting] blacktoez | wiki:syntax [29/06/2023 20:35] (Version actuelle) – [Control Macros] blacktoez | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | ==== Downloadable Code Blocks ==== | ||
- | |||
- | When you use the '' | ||
- | |||
- | < | ||
- | <file php myexample.php> | ||
- | <?php echo "hello world!"; | ||
- | </ | ||
- | </ | ||
- | |||
- | <file php myexample.php> | ||
- | <?php echo "hello world!"; | ||
- | </ | ||
- | |||
- | If you don't want any highlighting but want a downloadable file, specify a dash ('' | ||
- | |||
- | ===== RSS/ATOM Feed Aggregation ===== | ||
- | [[DokuWiki]] can integrate data from external XML feeds. For parsing the XML feeds, [[http:// | ||
- | |||
- | ^ Parameter | ||
- | | any number | will be used as maximum number items to show, defaults to 8 | | ||
- | | reverse | ||
- | | author | ||
- | | date | show item dates | | ||
- | | description| show the item description. All HTML tags will be stripped | | ||
- | | nosort | ||
- | | //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. [[wiki: | ||
- | |||
- | By default the feed will be sorted by date, newest items first. You can sort it by oldest first using the '' | ||
- | |||
- | **Example: | ||
- | |||
- | {{rss> | ||
- | |||
- | {{rss> | ||
- | |||
- | |||
- | ===== Control Macros ===== | ||
- | |||
- | Some syntax influences how DokuWiki renders a page without creating any output it self. The following control macros are availble: | ||
- | |||
- | ^ Macro ^ Description | | ||
- | | %%~~NOTOC~~%% | ||
- | | %%~~NOCACHE~~%% | DokuWiki caches all output by default. Sometimes this might not be wanted (eg. when the %%< | ||
- | |||
- | ===== Syntax Plugins ===== | ||
- | |||
- | DokuWiki' | ||
- | |||
- | ~~INFO: | ||