Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| wiki:syntax [2016/04/25 11:25] – [Headline Level 3] stonebound | wiki:syntax [2025/03/14 18:57] (current) – created - external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 74: | Line 74: | ||
| DokuWiki supports [[doku> | DokuWiki supports [[doku> | ||
| For example this is a link to Wikipedia' | For example this is a link to Wikipedia' | ||
| + | |||
| + | ==== Windows Shares ==== | ||
| + | |||
| + | Windows shares like [[\\server\share|this]] are recognized, too. Please note that these only make sense in a homogeneous user group like a corporate [[wp> | ||
| + | |||
| + | Windows Shares like [[\\server\share|this]] are recognized, too. | ||
| + | |||
| + | Notes: | ||
| + | |||
| + | * 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:// | ||
| + | <?php | ||
| + | /** | ||
| + | * Customization of the english language file | ||
| + | * Copy only the strings that needs to be modified | ||
| + | */ | ||
| + | $lang[' | ||
| + | </ | ||
| ==== Image Links ==== | ==== Image Links ==== | ||
| Line 79: | Line 97: | ||
| You can also use an image to link to another internal or external page by combining the syntax for links and [[# | You can also use an image to link to another internal or external page by combining the syntax for links and [[# | ||
| - | [[http://www.php.net|{{wiki: | + | [[http:// |
| - | [[http://www.php.net|{{wiki: | + | [[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. | ||
| Line 97: | Line 115: | ||
| 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 | + | ==== Headline |
| - | ## Headline | + | === Headline |
| - | ### Headline | + | == Headline |
| - | | + | |
| - | | + | |
| - | | + | |
| 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 119: | Line 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: | + | Resized external image: |
| 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: | + | Resized external image: |
| Line 229: | Line 247: | ||
| * ;-) %% ;-) %% | * ;-) %% ;-) %% | ||
| * ^_^ %% ^_^ %% | * ^_^ %% ^_^ %% | ||
| + | * m( %% m( %% | ||
| * :?: %% :?: %% | * :?: %% :?: %% | ||
| * :!: %% :!: %% | * :!: %% :!: %% | ||
| Line 253: | Line 272: | ||
| ===== Quoting ===== | ===== Quoting ===== | ||
| - | Some times you want to mark some text to show it's a quote. You can use the following syntax: | + | Some times you want to mark some text to show it's a reply or comment. You can use the following syntax: |
| < | < | ||
| - | > I think we should do it | + | I think we should do it |
| - | > No we shouldn' | + | > No we shouldn' |
| + | >> Well, I say we should | ||
| + | |||
| + | > Really? | ||
| + | |||
| + | >> Yes! | ||
| + | |||
| + | >>> | ||
| </ | </ | ||
| - | > I think we should do it | + | I think we should do it |
| + | |||
| + | > No we shouldn' | ||
| + | |||
| + | >> Well, I say we should | ||
| + | |||
| + | > Really? | ||
| + | |||
| + | >> Yes! | ||
| - | >> | + | >>> Then lets do it! |
| ===== Tables ===== | ===== Tables ===== | ||
| Line 384: | Line 418: | ||
| </ | </ | ||
| - | The following language strings are currently recognized: //4cs, 6502acme, 6502kickass, 6502tasm, 68000devpac, abap, actionscript-french, actionscript, | + | The following language strings are currently recognized: //4cs 6502acme 6502kickass 6502tasm 68000devpac abap actionscript3 |
| + | |||
| + | There are additional [[doku> | ||
| ==== Downloadable Code Blocks ==== | ==== Downloadable Code Blocks ==== | ||
| Line 401: | Line 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 ===== | ||
| Line 461: | Line 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). | | ||