Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| wiki:syntax [2024/03/10 17:36] – external edit 127.0.0.1 | wiki:syntax [2026/07/26 22:17] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== | + | ###### |
| [[doku> | [[doku> | ||
| - | ===== Basic Text Formatting | + | ##### Basic Text Formatting |
| DokuWiki supports **bold**, //italic//, __underlined__ and '' | DokuWiki supports **bold**, //italic//, __underlined__ and '' | ||
| Line 9: | Line 9: | ||
| DokuWiki supports **bold**, //italic//, __underlined__ and '' | DokuWiki supports **bold**, //italic//, __underlined__ and '' | ||
| Of course you can **__//'' | Of course you can **__//'' | ||
| + | |||
| + | Note that the formatting markers have to directly enclose the text, so '' | ||
| You can use < | You can use < | ||
| Line 30: | Line 32: | ||
| You should use forced newlines only if really needed. | You should use forced newlines only if really needed. | ||
| - | ===== Links ===== | + | ##### Links |
| DokuWiki supports multiple ways of creating links. | DokuWiki supports multiple ways of creating links. | ||
| - | ==== External | + | #### External |
| External links are recognized automagically: | External links are recognized automagically: | ||
| Line 43: | Line 45: | ||
| addresses like this one: < | addresses like this one: < | ||
| - | ==== Internal | + | #### Internal |
| 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]]. | ||
| Line 68: | Line 70: | ||
| * When a section' | * When a section' | ||
| - | ==== Interwiki | + | #### Interwiki |
| DokuWiki supports [[doku> | DokuWiki supports [[doku> | ||
| Line 75: | Line 77: | ||
| For example this is a link to Wikipedia' | For example this is a link to Wikipedia' | ||
| - | ==== 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> | 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> | ||
| Line 93: | Line 95: | ||
| </ | </ | ||
| - | ==== Image Links ==== | + | #### Image Links |
| 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 [[# | ||
| Line 105: | Line 107: | ||
| The whole [[# | The whole [[# | ||
| - | ===== Footnotes | + | ##### 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. | ||
| Line 111: | Line 113: | ||
| 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 |
| 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 ''< | 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 ''< | ||
| - | ==== Headline Level 3 ==== | + | #### Headline Level 3 |
| - | === Headline Level 4 === | + | ### Headline Level 4 |
| - | == Headline Level 5 == | + | ## Headline Level 5 |
| ==== Headline Level 3 ==== | ==== Headline Level 3 ==== | ||
| Line 127: | Line 129: | ||
| ---- | ---- | ||
| - | ===== Media Files ===== | + | ##### Media Files |
| You can include external and internal [[doku> | You can include external and internal [[doku> | ||
| Line 156: | Line 158: | ||
| {{wiki: | {{wiki: | ||
| {{ wiki: | {{ wiki: | ||
| + | |||
| + | You can also set the alignment explicitly with a ''? | ||
| + | |||
| + | {{wiki: | ||
| + | |||
| + | {{wiki: | ||
| Of course, you can add a title (displayed as a tooltip by most browsers), too. | Of course, you can add a title (displayed as a tooltip by most browsers), too. | ||
| Line 165: | Line 173: | ||
| For linking an image to another page see [[#Image Links]] above. | For linking an image to another page see [[#Image Links]] above. | ||
| - | ==== Supported Media Formats | + | #### Supported Media Formats |
| DokuWiki can embed the following media formats directly. | DokuWiki can embed the following media formats directly. | ||
| Line 182: | Line 190: | ||
| {{wiki: | {{wiki: | ||
| - | ==== Fallback Formats | + | #### Fallback Formats |
| Unfortunately not all browsers understand all video and audio formats. To mitigate the problem, you can upload your file in different formats for maximum browser compatibility. | Unfortunately not all browsers understand all video and audio formats. To mitigate the problem, you can upload your file in different formats for maximum browser compatibility. | ||
| Line 194: | Line 202: | ||
| Additionally DokuWiki supports a " | Additionally DokuWiki supports a " | ||
| - | ===== 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 '' | ||
| Line 222: | Line 230: | ||
| Also take a look at the [[doku> | Also take a look at the [[doku> | ||
| - | ===== Text Conversions | + | ##### Text Conversions |
| DokuWiki can convert certain pre-defined characters or strings into images or other text or HTML. | DokuWiki can convert certain pre-defined characters or strings into images or other text or HTML. | ||
| Line 228: | Line 236: | ||
| The text to image conversion is mainly done for smileys. And the text to HTML conversion is used for typography replacements, | The text to image conversion is mainly done for smileys. And the text to HTML conversion is used for typography replacements, | ||
| - | ==== Text to Image Conversions | + | #### Text to Image Conversions |
| DokuWiki converts commonly used [[wp> | DokuWiki converts commonly used [[wp> | ||
| Line 254: | Line 262: | ||
| * DELETEME %% DELETEME %% | * DELETEME %% DELETEME %% | ||
| - | ==== Text to HTML Conversions | + | #### Text to HTML Conversions |
| 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. | ||
| Line 270: | Line 278: | ||
| There are three exceptions which do not come from that pattern file: multiplication entity (640x480), ' | There are three exceptions which do not come from that pattern file: multiplication entity (640x480), ' | ||
| - | ===== Quoting | + | ##### Quoting |
| Some times you want to mark some text to show it's a reply or comment. You can use the following syntax: | Some times you want to mark some text to show it's a reply or comment. You can use the following syntax: | ||
| Line 300: | Line 308: | ||
| >>> | >>> | ||
| - | ===== Tables | + | ##### Tables |
| DokuWiki supports a simple syntax to create tables. | DokuWiki supports a simple syntax to create tables. | ||
| Line 362: | Line 370: | ||
| Note: Vertical alignment is not supported. | Note: Vertical alignment is not supported. | ||
| - | ===== No Formatting | + | ##### No Formatting |
| If you need to display text exactly like it is typed (without any formatting), | If you need to display text exactly like it is typed (without any formatting), | ||
| Line 376: | Line 384: | ||
| The same is true for %%// | The same is true for %%// | ||
| - | ===== 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 '' | 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 '' | ||
| Line 402: | Line 410: | ||
| </ | </ | ||
| - | ==== Syntax Highlighting | + | #### Syntax Highlighting |
| [[wiki: | [[wiki: | ||
| Line 422: | Line 430: | ||
| There are additional [[doku> | There are additional [[doku> | ||
| - | ==== Downloadable Code Blocks | + | #### Downloadable Code Blocks |
| When you use the '' | When you use the '' | ||
| Line 438: | Line 446: | ||
| If you don't want any highlighting but want a downloadable file, specify a dash ('' | If you don't want any highlighting but want a downloadable file, specify a dash ('' | ||
| - | ===== RSS/ATOM Feed Aggregation | + | ##### RSS/ATOM Feed Aggregation |
| [[DokuWiki]] can integrate data from external XML feeds. For parsing the XML feeds, [[http:// | [[DokuWiki]] can integrate data from external XML feeds. For parsing the XML feeds, [[http:// | ||
| Line 461: | Line 469: | ||
| - | ===== Control Macros | + | ##### Control Macros |
| Some syntax influences how DokuWiki renders a page without creating any output it self. The following control macros are availble: | Some syntax influences how DokuWiki renders a page without creating any output it self. The following control macros are availble: | ||
| Line 469: | Line 477: | ||
| | %%~~NOCACHE~~%% | DokuWiki caches all output by default. Sometimes this might not be wanted (eg. when the %%< | | %%~~NOCACHE~~%% | DokuWiki caches all output by default. Sometimes this might not be wanted (eg. when the %%< | ||
| - | ===== Syntax Plugins | + | ##### Syntax Plugins |
| DokuWiki' | DokuWiki' | ||