Различия
Показаны различия между двумя версиями страницы.
| Предыдущая версия справа и слеваПредыдущая версия | |||
| wiki:syntax [2026/08/17 11:59] – внешнее изменение 127.0.0.1 | wiki:syntax [2026/09/04 06:03] (текущий) – внешнее изменение 127.0.0.1 | ||
|---|---|---|---|
| Строка 9: | Строка 9: | ||
| DokuWiki supports **bold**, //italic//, __underlined__ and '' | DokuWiki supports **bold**, //italic//, __underlined__ and '' | ||
| Of course you can **__//'' | Of course you can **__//'' | ||
| - | |||
| - | Note that the formatting markers have to directly enclose the text, so '' | ||
| You can use < | You can use < | ||
| Строка 139: | Строка 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://www.php.net/ | + | Resized external image: {{https://secure.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://www.php.net/ | + | Resized external image: {{https://secure.php.net/ |
| Строка 158: | Строка 156: | ||
| {{wiki: | {{wiki: | ||
| {{ wiki: | {{ wiki: | ||
| - | |||
| - | You can also set the alignment explicitly with a ''? | ||
| - | |||
| - | {{wiki: | ||
| - | |||
| - | {{wiki: | ||
| 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. | ||
| Строка 255: | Строка 247: | ||
| * ;-) %% ;-) %% | * ;-) %% ;-) %% | ||
| * ^_^ %% ^_^ %% | * ^_^ %% ^_^ %% | ||
| - | * m( %% m( %% | ||
| * :?: %% :?: %% | * :?: %% :?: %% | ||
| * :!: %% :!: %% | * :!: %% :!: %% | ||
| Строка 445: | Строка 436: | ||
| 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 ===== | ||
| Строка 454: | Строка 496: | ||
| | 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). | | ||