Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| wiki:syntax [2026/07/26 14:13] – [Lists] Simon Grant | wiki:syntax [2026/09/02 18:53] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 7: | Line 7: | ||
| DokuWiki supports **bold**, //italic//, __underlined__ and '' | DokuWiki supports **bold**, //italic//, __underlined__ and '' | ||
| - | DokuWiki supports **bold**, //italic//, __underlined__ and '' | + | |
| - | Of course you can **__//'' | + | Of course you can **__//'' |
| Note that the formatting markers have to directly enclose the text, so '' | Note that the formatting markers have to directly enclose the text, so '' | ||
| Line 14: | Line 14: | ||
| You can use < | You can use < | ||
| - | | + | |
| You can mark something as < | You can mark something as < | ||
| - | | + | |
| **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 26: | Line 26: | ||
| or followed by\\ a whitespace \\this happens without it. | or followed by\\ a whitespace \\this happens without it. | ||
| - | | + | |
| - | two backslashes are only recognized at the end of a line\\ | + | two backslashes are only recognized at the end of a line\\ |
| - | or followed by\\ a whitespace \\this happens without it. | + | or followed by\\ a whitespace \\this happens without it. |
| You should use forced newlines only if really needed. | You should use forced newlines only if really needed. | ||
| Line 40: | Line 40: | ||
| External links are recognized automagically: | External links are recognized automagically: | ||
| - | | + | |
| - | automagically: | + | automagically: |
| - | link text as well: [[http:// | + | link text as well: [[http:// |
| - | addresses like this one: < | + | addresses like this one: < |
| ==== Internal ==== | ==== Internal ==== | ||
| Line 49: | Line 49: | ||
| Internal links are created by using square brackets. You can either just give a [[pagename]] or use an additional [[pagename|link text]]. | Internal links are created by using square brackets. You can either just give a [[pagename]] or use an additional [[pagename|link text]]. | ||
| - | | + | |
| - | a [[pagename]] or use an additional [[pagename|link text]]. | + | a [[pagename]] or use an additional [[pagename|link text]]. |
| [[doku> | [[doku> | ||
| Line 56: | Line 56: | ||
| You can use [[some: | You can use [[some: | ||
| - | | + | |
| For details about namespaces see [[doku> | For details about namespaces see [[doku> | ||
| Line 62: | Line 62: | ||
| 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# | 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# | ||
| - | | + | |
| Notes: | Notes: | ||
| - | * Links to [[syntax|existing pages]] are shown in a different style from [[nonexisting]] ones. | + | |
| - | * DokuWiki does not use [[wp> | + | * DokuWiki does not use [[wp> |
| - | * When a section' | + | * When a section' |
| ==== Interwiki ==== | ==== Interwiki ==== | ||
| Line 74: | Line 74: | ||
| DokuWiki supports [[doku> | DokuWiki supports [[doku> | ||
| - | | + | |
| - | For example this is a link to Wikipedia' | + | For example this is a link to Wikipedia' |
| ==== Windows Shares ==== | ==== Windows Shares ==== | ||
| Line 81: | Line 81: | ||
| Windows shares like [[\\server\share|this]] are recognized, too. Please note that these only make sense in a homogeneous user group like a corporate [[wp> | Windows shares like [[\\server\share|this]] are recognized, too. Please note that these only make sense in a homogeneous user group like a corporate [[wp> | ||
| - | | + | |
| 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 Mozilla and Firefox it can be enabled through different workaround mentioned in the [[http:// | + | * For Mozilla and Firefox it can be enabled through different workaround mentioned in the [[http:// |
| - | <code - conf/ | + | |
| <?php | <?php | ||
| /** | /** | ||
| Line 100: | Line 99: | ||
| You can also use an image to link to another internal or external page by combining the syntax for links and [[# | You can also use an image to link to another internal or external page by combining the syntax for links and [[# | ||
| - | | + | |
| [[http:// | [[http:// | ||
| Line 112: | Line 111: | ||
| 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 ===== | ===== Sectioning ===== | ||
| Line 122: | Line 121: | ||
| == Headline Level 5 == | == Headline Level 5 == | ||
| - | | + | |
| - | === Headline Level 4 === | + | === Headline Level 4 === |
| - | == Headline Level 5 == | + | == Headline Level 5 == |
| - | or | + | By using four or more dashes, you can make a horizontal line: |
| - | + | ||
| - | ### level 3 | + | |
| - | #### level 4 | + | |
| - | ##### level 5 | + | |
| - | + | ||
| - | ### level 3 | + | |
| - | #### level 4 | + | |
| - | ##### level 5 | + | |
| - | + | ||
| - | By using three or more dashes, you can make a horizontal line: | + | |
| - | + | ||
| - | --- | + | |
| - | + | ||
| - | --- | + | |
| ---- | ---- | ||
| - | |||
| - | ---- | ||
| - | |||
| - | ------------ | ||
| - | |||
| - | ------------ | ||
| ===== Media Files ===== | ===== Media Files ===== | ||
| Line 225: | Line 204: | ||
| ===== Lists ===== | ===== Lists ===== | ||
| - | Dokuwiki supports ordered and unordered lists. To create a list item, indent your text by two spaces and use a '' | + | Dokuwiki supports ordered and unordered lists. To create a list item, indent your text by two spaces and use a '' |
| * This is a list | * This is a list | ||
| * The second item | * The second item | ||
| * You may have different levels | * You may have different levels | ||
| - | * and deeper levels | ||
| * Another item | * Another item | ||
| + | |||
| + | - The same list but ordered | ||
| + | - Another item | ||
| + | - Just use indention for deeper levels | ||
| + | - That's it | ||
| < | < | ||
| Line 237: | Line 220: | ||
| * The second item | * The second item | ||
| * You may have different levels | * You may have different levels | ||
| - | * and deeper levels | ||
| * Another item | * Another item | ||
| + | |||
| + | - The same list but ordered | ||
| + | - Another item | ||
| + | - Just use indention for deeper levels | ||
| + | - That's it | ||
| </ | </ | ||
| - | Also take a look at the DokuWiki | + | Also take a look at the [[doku> |
| ===== Text Conversions ===== | ===== Text Conversions ===== | ||
| Line 392: | Line 379: | ||
| The same is true for %%// | The same is true for %%// | ||
| - | | + | |
| - | This is some text which contains addresses like this: http:// | + | This is some text which contains addresses like this: http:// |
| - | </ | + | </ |
| - | The same is true for %%// | + | The same is true for %%// |
| ===== Code Blocks ===== | ===== Code Blocks ===== | ||
| Line 477: | Line 464: | ||
| **Example: | **Example: | ||
| - | {{rss> | + | |
| {{rss> | {{rss> | ||