Differences

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

wiki:syntax [2016/05/23 11:22]
127.0.0.1 external edit
wiki:syntax [2018/02/15 14:22] (current)
158.108.78.11 1
Line 1: Line 1:
 ====== Formatting Syntax ====== ====== Formatting Syntax ======
  
-[[doku>DokuWiki]] supports some simple markup language, which tries to make the datafiles to be as readable as possible. This page contains all possible syntax you may use when editing the pages. Simply have a look at the source of this page by pressing the //Edit this page// button at the top or bottom of the page. If you want to try something, just use the [[playground:playground|playground]] page. The simpler markup is easily accessible via [[doku>toolbar|quickbuttons]], too.+[[doku>DokuWiki]] supports some simple markup language, which tries to make the datafiles to be as readable as possible. This page contains all possible syntax you may use when editing the pages. Simply have a look at the source of this page by pressing the //Edit this page// button at the top or bottom of the page. If you want to try something, just use the [[playground:playground|playground]] page. The simpler markup is easily accessible via [[doku>toolbar|quickbuttons]], too.
  
 ===== Basic Text Formatting ===== ===== Basic Text Formatting =====
Line 10: Line 10:
   Of course you can **__//''combine''//__** all these.   Of course you can **__//''combine''//__** all these.
  
-You can use <sub>subscript</sub> and <sup>superscript</sup>, 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 use <sub>subscript</sub> and <sup>superscript</sup>, 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 <del>deleted</del> as well.+You can mark something as &amp;lt;del&amp;gt;deleted&amp;lt;/del&amp;gt; as well.
  
-  You can mark something as <del>deleted</del> 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 lines. If you want to **force a newline** without a paragraph, you can use two backslashes followed by a whitespace or the end of line. **Paragraphs** are created from blank lines. If you want to **force a newline** without a paragraph, you can use two backslashes followed by a whitespace or the end of line.
Line 36: Line 36:
 ==== External ==== ==== External ====
  
-External links are recognized automagically: http://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: <[email protected]> are recognized, too.+External links are recognized automagically: http://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: &amp;lt;[email protected]&amp;gt; are recognized, too.
  
   DokuWiki supports multiple ways of creating links. External links are recognized   DokuWiki supports multiple ways of creating links. External links are recognized
   automagically: http://www.google.com or simply www.google.com - You can set   automagically: http://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   link text as well: [[http://www.google.com|This Link points to google]]. Email
-  addresses like this one: <[email protected]> are recognized, too.+  addresses like this one: &amp;lt;[email protected]&amp;gt; are recognized, too.
  
 ==== Internal ==== ==== Internal ====
Line 50: Line 50:
   a [[pagename]] or use an additional [[pagename|link text]].   a [[pagename]] or use an additional [[pagename|link text]].
  
-[[doku>pagename|Wiki pagenames]] are converted to lowercase automatically, special characters are not allowed.+[[doku&amp;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.
Line 56: Line 56:
   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>namespaces]].+For details about namespaces see [[doku&amp;gt;namespaces]].
  
 Linking to a specific section is possible, too. Just add the section name behind a hash character as known from HTML. This links to [[syntax#internal|this Section]]. Linking to a specific section is possible, too. Just add the section name behind a hash character as known from HTML. This links to [[syntax#internal|this Section]].
Line 65: Line 65:
  
   * Links to [[syntax|existing pages]] are shown in a different style from [[nonexisting]] ones.   * Links to [[syntax|existing pages]] are shown in a different style from [[nonexisting]] ones.
-  * DokuWiki does not use [[wp>CamelCase]] to automatically create links by default, but this behavior can be enabled in the [[doku>config]] file. Hint: If DokuWiki is a link, then it's enabled.+  * DokuWiki does not use [[wp&amp;gt;CamelCase]] to automatically create links by default, but this behavior can be enabled in the [[doku&amp;gt;config]] file. Hint: If DokuWiki is a link, then it's enabled.
   * When a section's heading is changed, its bookmark changes, too. So don't rely on section linking too much.   * When a section's heading is changed, its bookmark changes, too. So don't rely on section linking too much.
  
 ==== Interwiki ==== ==== Interwiki ====
  
-DokuWiki supports [[doku>Interwiki]] links. These are quick links to other Wikis. For example this is a link to Wikipedia's page about Wikis: [[wp>Wiki]].+DokuWiki supports [[doku&amp;gt;Interwiki]] links. These are quick links to other Wikis. For example this is a link to Wikipedia's page about Wikis: [[wp&amp;gt;Wiki]].
  
-  DokuWiki supports [[doku>Interwiki]] links. These are quick links to other Wikis. +  DokuWiki supports [[doku&amp;gt;Interwiki]] links. These are quick links to other Wikis. 
-  For example this is a link to Wikipedia's page about Wikis: [[wp>Wiki]].+  For example this is a link to Wikipedia's page about Wikis: [[wp&amp;gt;Wiki]].
  
 ==== Windows Shares ==== ==== Windows Shares ====
  
-Windows shares like [[\\server\share|this]] are recognized, too. Please note that these only make sense in a homogeneous user group like a corporate [[wp>Intranet]].+Windows shares like [[\\server\share|this]] are recognized, too. Please note that these only make sense in a homogeneous user group like a corporate [[wp&amp;gt;Intranet]].
  
   Windows Shares like [[\\server\share|this]] are recognized, too.   Windows Shares like [[\\server\share|this]] are recognized, too.
Line 83: Line 83:
 Notes: Notes:
  
-  * For security reasons direct browsing of windows shares only works in Microsoft Internet Explorer per default (and only in the "local zone").+  * For security reasons direct browsing of windows shares only works in Microsoft Internet Explorer per default (and only in the &amp;quot;local zone&amp;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 Share. To remove this warning (for all users), put the following line in ''conf/local.protected.php'':   * 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 Share. To remove this warning (for all users), put the following line in ''conf/local.protected.php'':
  
Line 108: Line 108:
 ===== Sectioning ===== ===== Sectioning =====
  
-You can use up to five different levels of headlines to structure your content. If you have more than three headlines, a table of contents is generated automatically -- this can be disabled by including the string ''<nowiki>~~NOTOC~~</nowiki>'' in the document.+You can use up to five different levels of headlines to structure your content. If you have more than three headlines, a table of contents is generated automatically -- this can be disabled by including the string ''&amp;lt;nowiki&amp;gt;~~NOTOC~~&amp;lt;/nowiki&amp;gt;'' in the document.
  
 ==== Headline Level 3 ==== ==== Headline Level 3 ====
Line 124: Line 124:
 ===== Images and Other Files ===== ===== Images and Other Files =====
  
-You can include external and internal [[doku>images]] with curly brackets. Optionally you can specify the size of them.+You can include external and internal [[doku&amp;gt;images]] with curly brackets. Optionally you can specify the size of them.
  
 Real size:                        {{wiki:dokuwiki-128.png}} Real size:                        {{wiki:dokuwiki-128.png}}
Line 176: Line 176:
   - That's it   - That's it
  
-<code>+&amp;lt;code&amp;gt;
   * This is a list   * This is a list
   * The second item   * The second item
Line 186: Line 186:
     - Just use indention for deeper levels     - Just use indention for deeper levels
   - That's it   - That's it
-</code>+&amp;lt;/code&amp;gt;
  
-Also take a look at the [[doku>faq:lists|FAQ on list items]].+Also take a look at the [[doku&amp;gt;faq:lists|FAQ on list items]].
  
 ===== Text Conversions ===== ===== Text Conversions =====
Line 198: Line 198:
 ==== Text to Image Conversions ==== ==== Text to Image Conversions ====
  
-DokuWiki converts commonly used [[wp>emoticon]]s to their graphical equivalents. Those [[doku>Smileys]] and other images can be configured and extended. Here is an overview of Smileys included in DokuWiki:+DokuWiki converts commonly used [[wp&amp;gt;emoticon]]s to their graphical equivalents. Those [[doku&amp;gt;Smileys]] and other images can be configured and extended. Here is an overview of Smileys included in DokuWiki:
  
   * 8-) %%  8-)  %%   * 8-) %%  8-)  %%
Line 225: Line 225:
 Typography: [[DokuWiki]] can convert simple text characters to their typographically correct entities. Here is an example of recognized characters. Typography: [[DokuWiki]] can convert simple text characters to their typographically correct entities. Here is an example of recognized characters.
  
--> <- <-> => <= <=> >> << -- --- 640x480 (c) (tm) (r) +-&amp;gt; &amp;lt;- &amp;lt;-&amp;gt; =&amp;gt; &amp;lt;= &amp;lt;=&amp;gt; &amp;gt;&amp;gt; &amp;lt;&amp;lt; -- --- 640x480 (c) (tm) (r) 
-"He thought 'It's a man's world'..."+&amp;quot;He thought 'It's a man's world'...&amp;quot;
  
-<code> +&amp;lt;code&amp;gt; 
--> <- <-> => <= <=> >> << -- --- 640x480 (c) (tm) (r) +-&amp;gt; &amp;lt;- &amp;lt;-&amp;gt; =&amp;gt; &amp;lt;= &amp;lt;=&amp;gt; &amp;gt;&amp;gt; &amp;lt;&amp;lt; -- --- 640x480 (c) (tm) (r) 
-"He thought 'It's a man's world'..." +&amp;quot;He thought 'It's a man's world'...&amp;quot; 
-</code>+&amp;lt;/code&amp;gt;
  
-The same can be done to produce any kind of HTML, it just needs to be added to the [[doku>entities|pattern file]].+The same can be done to produce any kind of HTML, it just needs to be added to the [[doku&amp;gt;entities|pattern file]].
  
-There are three exceptions which do not come from that pattern file: multiplication entity (640x480), 'single' and "double quotes". They can be turned off through a [[doku>config:typography|config option]].+There are three exceptions which do not come from that pattern file: multiplication entity (640x480), 'single' and &amp;quot;double quotes&amp;quot;. They can be turned off through a [[doku&amp;gt;config:typography|config option]].
  
 ===== Quoting ===== ===== Quoting =====
Line 243: Line 243:
   I think we should do it   I think we should do it
      
-  > No we shouldn't+  &amp;gt; No we shouldn't
      
-  >> Well, I say we should+  &amp;gt;&amp;gt; Well, I say we should
      
-  > Really?+  &amp;gt; Really?
      
-  >> Yes!+  &amp;gt;&amp;gt; Yes!
      
-  >>> Then lets do it!+  &amp;gt;&amp;gt;&amp;gt; Then lets do it!
  
 I think we should do it I think we should do it
  
-> No we shouldn't+&amp;gt; No we shouldn't
  
->> Well, I say we should+&amp;gt;&amp;gt; Well, I say we should
  
-> Really?+&amp;gt; Really?
  
->> Yes!+&amp;gt;&amp;gt; Yes!
  
->>> Then lets do it!+&amp;gt;&amp;gt;&amp;gt; Then lets do it!
  
 ===== Tables ===== ===== Tables =====
Line 329: Line 329:
 ===== No Formatting ===== ===== No Formatting =====
  
-If you need to display text exactly like it is typed (without any formatting), enclose the area either with ''%%<nowiki>%%'' tags or even simpler, with double percent signs ''<nowiki>%%</nowiki>''.+If you need to display text exactly like it is typed (without any formatting), enclose the area either with ''%%&amp;lt;nowiki&amp;gt;%%'' tags or even simpler, with double percent signs ''&amp;lt;nowiki&amp;gt;%%&amp;lt;/nowiki&amp;gt;''.
  
-<nowiki>+&amp;lt;nowiki&amp;gt;
 This is some text which contains addresses like this: http://www.splitbrain.org and **formatting**, but nothing is done with it. This is some text which contains addresses like this: http://www.splitbrain.org and **formatting**, but nothing is done with it.
-</nowiki>+&amp;lt;/nowiki&amp;gt;
 The same is true for %%//__this__ text// with a smiley ;-)%%. The same is true for %%//__this__ text// with a smiley ;-)%%.
  
-  <nowiki>+  &amp;lt;nowiki&amp;gt;
   This is some text which contains addresses like this: http://www.splitbrain.org and **formatting**, but nothing is done with it.   This is some text which contains addresses like this: http://www.splitbrain.org and **formatting**, but nothing is done with it.
-  </nowiki>+  &amp;lt;/nowiki&amp;gt;
   The same is true for %%//__this__ text// with a smiley ;-)%%.   The same is true for %%//__this__ text// with a smiley ;-)%%.
  
 ===== Code Blocks ===== ===== Code Blocks =====
  
-You can include code blocks into your documents by either indenting them by at least two spaces (like used for the previous examples) or by using the tags ''%%<code>%%'' or ''%%<file>%%''.+You can include code blocks into your documents by either indenting them by at least two spaces (like used for the previous examples) or by using the tags ''%%&amp;lt;code&amp;gt;%%'' or ''%%&amp;lt;file&amp;gt;%%''.
  
   This is text is indented by two spaces.   This is text is indented by two spaces.
  
-<code> +&amp;lt;code&amp;gt; 
-This is preformatted code all spaces are preserved: like              <-this +This is preformatted code all spaces are preserved: like              &amp;lt;-this 
-</code>+&amp;lt;/code&amp;gt;
  
-<file>+&amp;lt;file&amp;gt;
 This is pretty much the same, but you could use it to show that you quoted a file. This is pretty much the same, but you could use it to show that you quoted a file.
-</file>+&amp;lt;/file&amp;gt;
  
 Those blocks were created by this source: Those blocks were created by this source:
Line 359: Line 359:
     This is text is indented by two spaces.     This is text is indented by two spaces.
  
-  <code> +  &amp;lt;code&amp;gt; 
-  This is preformatted code all spaces are preserved: like              <-this +  This is preformatted code all spaces are preserved: like              &amp;lt;-this 
-  </code>+  &amp;lt;/code&amp;gt;
  
-  <file>+  &amp;lt;file&amp;gt;
   This is pretty much the same, but you could use it to show that you quoted a file.   This is pretty much the same, but you could use it to show that you quoted a file.
-  </file>+  &amp;lt;/file&amp;gt;
  
 ==== Syntax Highlighting ==== ==== Syntax Highlighting ====
  
-[[wiki:DokuWiki]] can highlight sourcecode, which makes it easier to read. It uses the [[http://qbnz.com/highlighter/|GeSHi]] Generic Syntax Highlighter -- so any language supported by GeSHi is supported. The syntax is the same like in the code and file blocks in the previous section, but this time the name of the used language is inserted inside the tag. Eg. ''<nowiki><code java></nowiki>'' or ''<nowiki><file java></nowiki>''.+[[wiki:DokuWiki]] can highlight sourcecode, which makes it easier to read. It uses the [[http://qbnz.com/highlighter/|GeSHi]] Generic Syntax Highlighter -- so any language supported by GeSHi is supported. The syntax is the same like in the code and file blocks in the previous section, but this time the name of the used language is inserted inside the tag. Eg. ''&amp;lt;nowiki&amp;gt;&amp;lt;code java&amp;gt;&amp;lt;/nowiki&amp;gt;'' or ''&amp;lt;nowiki&amp;gt;&amp;lt;file java&amp;gt;&amp;lt;/nowiki&amp;gt;''.
  
-<code java>+&amp;lt;code java&amp;gt;
 /** /**
  * The HelloWorldApp class implements an application that  * The HelloWorldApp class implements an application that
- * simply displays "Hello World!" to the standard output.+ * simply displays &amp;quot;Hello World!&amp;quot; to the standard output.
  */  */
 class HelloWorldApp { class HelloWorldApp {
     public static void main(String[] args) {     public static void main(String[] args) {
-        System.out.println("Hello World!"); //Display the string.+        System.out.println(&amp;quot;Hello World!&amp;quot;); //Display the string.
     }     }
 } }
-</code>+&amp;lt;/code&amp;gt;
  
 The following language strings are currently recognized: //4cs, abap, actionscript-french, actionscript, actionscript3, ada, apache, applescript, asm, asp, autoconf, autohotkey, autoit, avisynth, awk, bash, basic4gl, bf, bibtex, blitzbasic, bnf, boo, c, c_mac, caddcl, cadlisp, cfdg, cfm, chaiscript, cil, clojure, cmake, cobol, cpp, cpp-qt, csharp, css, cuesheet, d, dcs, delphi, diff, div, dos, dot, ecmascript, eiffel, email, erlang, fo, fortran, freebasic, fsharp, gambas, genero, genie, gdb, glsl, gml, gnuplot, groovy, gettext, gwbasic, haskell, hicest, hq9plus, html, icon, idl, ini, inno, intercal, io, j, java5, java, javascript, jquery, kixtart, klonec, klonecpp, latex, lisp, locobasic, logtalk, lolcode, lotusformulas, lotusscript, lscript, lsl2, lua, m68k, magiksf, make, mapbasic, matlab, mirc, modula2, modula3, mmix, mpasm, mxml, mysql, newlisp, nsis, oberon2, objc, ocaml-brief, ocaml, oobas, oracle8, oracle11, oxygene, oz, pascal, pcre, perl, perl6, per, pf, php-brief, php, pike, pic16, pixelbender, plsql, postgresql, povray, powerbuilder, powershell, progress, prolog, properties, providex, purebasic, python, q, qbasic, rails, rebol, reg, robots, rpmspec, rsplus, ruby, sas, scala, scheme, scilab, sdlbasic, smalltalk, smarty, sql, systemverilog, tcl, teraterm, text, thinbasic, tsql, typoscript, unicon, vala, vbnet, vb, verilog, vhdl, vim, visualfoxpro, visualprolog, whitespace, winbatch, whois, xbasic, xml, xorg_conf, xpp, z80// The following language strings are currently recognized: //4cs, abap, actionscript-french, actionscript, actionscript3, ada, apache, applescript, asm, asp, autoconf, autohotkey, autoit, avisynth, awk, bash, basic4gl, bf, bibtex, blitzbasic, bnf, boo, c, c_mac, caddcl, cadlisp, cfdg, cfm, chaiscript, cil, clojure, cmake, cobol, cpp, cpp-qt, csharp, css, cuesheet, d, dcs, delphi, diff, div, dos, dot, ecmascript, eiffel, email, erlang, fo, fortran, freebasic, fsharp, gambas, genero, genie, gdb, glsl, gml, gnuplot, groovy, gettext, gwbasic, haskell, hicest, hq9plus, html, icon, idl, ini, inno, intercal, io, j, java5, java, javascript, jquery, kixtart, klonec, klonecpp, latex, lisp, locobasic, logtalk, lolcode, lotusformulas, lotusscript, lscript, lsl2, lua, m68k, magiksf, make, mapbasic, matlab, mirc, modula2, modula3, mmix, mpasm, mxml, mysql, newlisp, nsis, oberon2, objc, ocaml-brief, ocaml, oobas, oracle8, oracle11, oxygene, oz, pascal, pcre, perl, perl6, per, pf, php-brief, php, pike, pic16, pixelbender, plsql, postgresql, povray, powerbuilder, powershell, progress, prolog, properties, providex, purebasic, python, q, qbasic, rails, rebol, reg, robots, rpmspec, rsplus, ruby, sas, scala, scheme, scilab, sdlbasic, smalltalk, smarty, sql, systemverilog, tcl, teraterm, text, thinbasic, tsql, typoscript, unicon, vala, vbnet, vb, verilog, vhdl, vim, visualfoxpro, visualprolog, whitespace, winbatch, whois, xbasic, xml, xorg_conf, xpp, z80//
Line 387: Line 387:
 ==== Downloadable Code Blocks ==== ==== Downloadable Code Blocks ====
  
-When you use the ''%%<code>%%'' or ''%%<file>%%'' syntax as above, you might want to make the shown code available for download as well. You can to this by specifying a file name after language code like this:+When you use the ''%%&amp;lt;code&amp;gt;%%'' or ''%%&amp;lt;file&amp;gt;%%'' syntax as above, you might want to make the shown code available for download as well. You can to this by specifying a file name after language code like this:
  
-<code> +&amp;lt;code&amp;gt; 
-<file php myexample.php> +&amp;lt;file php myexample.php&amp;gt; 
-<?php echo "hello world!"; ?> +&amp;lt;?php echo &amp;quot;hello world!&amp;quot;; ?&amp;gt; 
-</file> +&amp;lt;/file&amp;gt; 
-</code>+&amp;lt;/code&amp;gt;
  
-<file php myexample.php> +&amp;lt;file php myexample.php&amp;gt; 
-<?php echo "hello world!"; ?> +&amp;lt;?php echo &amp;quot;hello world!&amp;quot;; ?&amp;gt; 
-</file>+&amp;lt;/file&amp;gt;
  
-If you don't want any highlighting but want a downloadable file, specify a dash (''-'') as the language code: ''%%<code - myfile.foo>%%''.+If you don't want any highlighting but want a downloadable file, specify a dash (''-'') as the language code: ''%%&amp;lt;code - myfile.foo&amp;gt;%%''.
  
  
 ===== Embedding HTML and PHP ===== ===== Embedding HTML and PHP =====
  
-You can embed raw HTML or PHP code into your documents by using the ''%%<html>%%'' or ''%%<php>%%'' tags. (Use uppercase tags if you need to enclose block level elements.)+You can embed raw HTML or PHP code into your documents by using the ''%%&amp;lt;html&amp;gt;%%'' or ''%%&amp;lt;php&amp;gt;%%'' tags. (Use uppercase tags if you need to enclose block level elements.)
  
 HTML example: HTML example:
  
-<code> +&amp;lt;code&amp;gt; 
-<html> +&amp;lt;html&amp;gt; 
-This is some <span style="color:red;font-size:150%;">inline HTML</span> +This is some &amp;lt;span style=&amp;quot;color:red;font-size:150%;&amp;quot;&amp;gt;inline HTML&amp;lt;/span&amp;gt; 
-</html> +&amp;lt;/html&amp;gt; 
-<HTML> +&amp;lt;HTML&amp;gt; 
-<p style="border:2px dashed red;">And this is some block HTML</p> +&amp;lt;p style=&amp;quot;border:2px dashed red;&amp;quot;&amp;gt;And this is some block HTML&amp;lt;/p&amp;gt; 
-</HTML> +&amp;lt;/HTML&amp;gt; 
-</code>+&amp;lt;/code&amp;gt;
  
-<html> +&amp;lt;html&amp;gt; 
-This is some <span style="color:red;font-size:150%;">inline HTML</span> +This is some &amp;lt;span style=&amp;quot;color:red;font-size:150%;&amp;quot;&amp;gt;inline HTML&amp;lt;/span&amp;gt; 
-</html> +&amp;lt;/html&amp;gt; 
-<HTML> +&amp;lt;HTML&amp;gt; 
-<p style="border:2px dashed red;">And this is some block HTML</p> +&amp;lt;p style=&amp;quot;border:2px dashed red;&amp;quot;&amp;gt;And this is some block HTML&amp;lt;/p&amp;gt; 
-</HTML>+&amp;lt;/HTML&amp;gt;
  
 PHP example: PHP example:
  
-<code> +&amp;lt;code&amp;gt; 
-<php>+&amp;lt;php&amp;gt;
 echo 'A logo generated by PHP:'; echo 'A logo generated by PHP:';
-echo '<img src="' . $_SERVER['PHP_SELF'] . '?=' . php_logo_guid() . '" alt="PHP Logo !" />';+echo '&amp;lt;img src=&amp;quot;' . $_SERVER['PHP_SELF'] . '?=' . php_logo_guid() . '&amp;quot; alt=&amp;quot;PHP Logo !&amp;quot; /&amp;gt;';
 echo '(generated inline HTML)'; echo '(generated inline HTML)';
-</php> +&amp;lt;/php&amp;gt; 
-<PHP> +&amp;lt;PHP&amp;gt; 
-echo '<table class="inline"><tr><td>The same, but inside a block level element:</td>'; +echo '&amp;lt;table class=&amp;quot;inline&amp;quot;&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;The same, but inside a block level element:&amp;lt;/td&amp;gt;'; 
-echo '<td><img src="' . $_SERVER['PHP_SELF'] . '?=' . php_logo_guid() . '" alt="PHP Logo !" /></td>'; +echo '&amp;lt;td&amp;gt;&amp;lt;img src=&amp;quot;' . $_SERVER['PHP_SELF'] . '?=' . php_logo_guid() . '&amp;quot; alt=&amp;quot;PHP Logo !&amp;quot; /&amp;gt;&amp;lt;/td&amp;gt;'; 
-echo '</tr></table>'; +echo '&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;'; 
-</PHP> +&amp;lt;/PHP&amp;gt; 
-</code>+&amp;lt;/code&amp;gt;
  
-<php>+&amp;lt;php&amp;gt;
 echo 'A logo generated by PHP:'; echo 'A logo generated by PHP:';
-echo '<img src="' . $_SERVER['PHP_SELF'] . '?=' . php_logo_guid() . '" alt="PHP Logo !" />';+echo '&amp;lt;img src=&amp;quot;' . $_SERVER['PHP_SELF'] . '?=' . php_logo_guid() . '&amp;quot; alt=&amp;quot;PHP Logo !&amp;quot; /&amp;gt;';
 echo '(inline HTML)'; echo '(inline HTML)';
-</php> +&amp;lt;/php&amp;gt; 
-<PHP> +&amp;lt;PHP&amp;gt; 
-echo '<table class="inline"><tr><td>The same, but inside a block level element:</td>'; +echo '&amp;lt;table class=&amp;quot;inline&amp;quot;&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;The same, but inside a block level element:&amp;lt;/td&amp;gt;'; 
-echo '<td><img src="' . $_SERVER['PHP_SELF'] . '?=' . php_logo_guid() . '" alt="PHP Logo !" /></td>'; +echo '&amp;lt;td&amp;gt;&amp;lt;img src=&amp;quot;' . $_SERVER['PHP_SELF'] . '?=' . php_logo_guid() . '&amp;quot; alt=&amp;quot;PHP Logo !&amp;quot; /&amp;gt;&amp;lt;/td&amp;gt;'; 
-echo '</tr></table>'; +echo '&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;'; 
-</PHP>+&amp;lt;/PHP&amp;gt;
  
 **Please Note**: HTML and PHP embedding is disabled by default in the configuration. If disabled, the code is displayed instead of executed. **Please Note**: HTML and PHP embedding is disabled by default in the configuration. If disabled, the code is displayed instead of executed.
Line 460: Line 460:
 | author     | show item authors names | | author     | show item authors names |
 | date       | show item dates | | date       | show item dates |
-| description| show the item description. If [[doku>config:htmlok|HTML]] is disabled all tags will be stripped |+| description| show the item description. If [[doku&amp;gt;config:htmlok|HTML]] is disabled all tags will be stripped |
 | //n//[dhm] | refresh period, where d=days, h=hours, m=minutes. (e.g. 12h = 12 hours). | | //n//[dhm] | refresh period, where d=days, h=hours, m=minutes. (e.g. 12h = 12 hours). |
  
Line 467: Line 467:
 **Example:** **Example:**
  
-  {{rss>http://slashdot.org/index.rss 5 author date 1h }}+  {{rss&amp;gt;http://slashdot.org/index.rss 5 author date 1h }}
  
-{{rss>http://slashdot.org/index.rss 5 author date 1h }}+{{rss&amp;gt;http://slashdot.org/index.rss 5 author date 1h }}
  
  
Line 478: Line 478:
 ^ Macro           ^ Description | ^ Macro           ^ Description |
 | %%~~NOTOC~~%%   | If this macro is found on the page, no table of contents will be created | | %%~~NOTOC~~%%   | If this macro is found on the page, no table of contents will be created |
-| %%~~NOCACHE~~%% | DokuWiki caches all output by default. Sometimes this might not be wanted (eg. when the %%<php>%% syntax above is used), adding this macro will force DokuWiki to rerender a page on every call |+| %%~~NOCACHE~~%% | DokuWiki caches all output by default. Sometimes this might not be wanted (eg. when the %%&amp;lt;php&amp;gt;%% syntax above is used), adding this macro will force DokuWiki to rerender a page on every call |
  
 ===== Syntax Plugins ===== ===== Syntax Plugins =====
  
-DokuWiki's syntax can be extended by [[doku>plugins|Plugins]]. How the installed plugins are used is described on their appropriate description pages. The following syntax plugins are available in this particular DokuWiki installation:+DokuWiki's syntax can be extended by [[doku&amp;gt;plugins|Plugins]]. How the installed plugins are used is described on their appropriate description pages. The following syntax plugins are available in this particular DokuWiki installation:
  
 ~~INFO:syntaxplugins~~ ~~INFO:syntaxplugins~~
-