Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revisionLast revisionBoth sides next revision | ||
| wiki:syntax [2020/07/29 11:35] – external edit 127.0.0.1 | wiki:syntax [2024/03/31 18:47] – andi | ||
|---|---|---|---|
| Line 27: | Line 27: | ||
| two backslashes are only recognized at the end of a line\\ | two backslashes are only recognized at the end of a line\\ | ||
| or followed by\\ a whitespace \\this happens without it. | or followed by\\ a whitespace \\this happens without it. | ||
| + | |||
| You should use forced newlines only if really needed. | You should use forced newlines only if really needed. | ||
| + | |||
| ===== Links ===== | ===== Links ===== | ||
| Line 42: | Line 44: | ||
| link text as well: [[http:// | link text as well: [[http:// | ||
| addresses like this one: < | addresses like this one: < | ||
| + | |||
| ==== Internal ==== | ==== Internal ==== | ||
| Line 67: | Line 70: | ||
| * DokuWiki does not use [[wp> | * DokuWiki does not use [[wp> | ||
| * When a section' | * When a section' | ||
| + | |||
| ==== Interwiki ==== | ==== Interwiki ==== | ||
| Line 84: | Line 88: | ||
| * For security reasons direct browsing of windows shares only works in Microsoft Internet Explorer per default (and only in the "local zone" | * For security reasons direct browsing of windows shares only works in Microsoft Internet Explorer per default (and only in the "local zone" | ||
| - | * For Mozilla and Firefox it can be enabled through different workaround mentioned in the [[http:// | + | * For Mozilla and Firefox it can be enabled through different workaround mentioned in the [[http:// |
| + | |||
| + | <code - conf/ | ||
| <?php | <?php | ||
| /** | /** | ||
| Line 91: | Line 97: | ||
| */ | */ | ||
| $lang[' | $lang[' | ||
| + | |||
| </ | </ | ||
| + | |||
| ==== Image Links ==== | ==== Image Links ==== | ||
| Line 115: | Line 123: | ||
| You can use up to five different levels of headlines to structure your content. If you have more than three headlines, a table of contents is generated automatically -- this can be disabled by including the string ''< | You can use up to five different levels of headlines to structure your content. If you have more than three headlines, a table of contents is generated automatically -- this can be disabled by including the string ''< | ||
| - | ==== Headline Level 3 ==== | + | == Headline Level 2 |
| - | === Headline Level 4 === | + | === Headline Level 3 |
| - | == Headline Level 5 == | + | ==== Headline Level 4 |
| + | ===== Headline Level 5 | ||
| - | | + | == Headline Level 2 |
| - | === Headline Level 4 === | + | |
| - | | + | |
| + | | ||
| By using four or more dashes, you can make a horizontal line: | By using four or more dashes, you can make a horizontal line: | ||
| Line 137: | Line 147: | ||
| 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/ |
| Line 164: | Line 174: | ||
| For linking an image to another page see [[#Image Links]] above. | For linking an image to another page see [[#Image Links]] above. | ||
| + | |||
| ==== Supported Media Formats ==== | ==== Supported Media Formats ==== | ||
| Line 172: | Line 183: | ||
| | Video | '' | | Video | '' | ||
| | Audio | '' | | Audio | '' | ||
| - | | Flash | '' | + | |
| If you specify a filename that is not a supported media format, then it will be displayed as a link instead. | If you specify a filename that is not a supported media format, then it will be displayed as a link instead. | ||
| Line 181: | Line 192: | ||
| {{wiki: | {{wiki: | ||
| + | |||
| ==== Fallback Formats ==== | ==== Fallback Formats ==== | ||
| Line 193: | Line 205: | ||
| Additionally DokuWiki supports a " | Additionally DokuWiki supports a " | ||
| + | |||
| ===== Lists ===== | ===== Lists ===== | ||
| Line 208: | Line 221: | ||
| - That's it | - That's it | ||
| - | < | + | ``` |
| * This is a list | * This is a list | ||
| * The second item | * The second item | ||
| Line 218: | Line 231: | ||
| - Just use indention for deeper levels | - Just use indention for deeper levels | ||
| - That's it | - That's it | ||
| - | </ | + | ``` |
| Also take a look at the [[doku> | Also take a look at the [[doku> | ||
| + | |||
| ===== Text Conversions ===== | ===== Text Conversions ===== | ||
| Line 247: | Line 261: | ||
| * ;-) %% ;-) %% | * ;-) %% ;-) %% | ||
| * ^_^ %% ^_^ %% | * ^_^ %% ^_^ %% | ||
| + | * m( %% m( %% | ||
| * :?: %% :?: %% | * :?: %% :?: %% | ||
| * :!: %% :!: %% | * :!: %% :!: %% | ||
| Line 436: | Line 451: | ||
| 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 ===== | ||
| Line 496: | Line 460: | ||
| | 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). | | ||
| Line 518: | Line 482: | ||
| | %%~~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 ===== | ||