Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| wiki:syntax [2025/11/08 16:21] – simon | wiki:syntax [2025/11/08 17:55] (current) – simon | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Formatting Syntax ====== | ====== Formatting Syntax ====== | ||
| - | [[doku> | + | [[doku> |
| + | |||
| + | When you try editing this wiki, you will discover quite quickly that we have decided to use the Markdown plugin. | ||
| ===== Basic Text Formatting ===== | ===== Basic Text Formatting ===== | ||
| Line 12: | Line 14: | ||
| `You can use < | `You can use < | ||
| + | |||
| + | You can't use the Markdown way of `H~2~O` or `x^2^`. | ||
| + | |||
| + | But Markdown *italic* is possible, with one asterisk instead of two slash characters. | ||
| + | |||
| + | `But Markdown *italic* is possible, with one asterisk instead of two slash characters.` | ||
| You can mark something as < | You can mark something as < | ||
| Line 17: | Line 25: | ||
| `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, in native Dokuwiki you can use two backslashes followed by a whitespace or the end of line; but in Markdown you end the line\ | + | **Paragraphs** are created from blank lines. |
| + | If you want to **force a newline** without a paragraph, | ||
| + | in native Dokuwiki you can use two backslashes followed by a whitespace or the end of line; | ||
| + | but in Markdown you end the line | ||
| with a single backslash and no trailing space. | with a single backslash and no trailing space. | ||
| + | |||
| + | ``` | ||
| + | **Paragraphs** are created from blank lines. | ||
| + | If you want to **force a newline** without a paragraph, | ||
| + | in native Dokuwiki you can use two backslashes followed by a whitespace or the end of line; | ||
| + | but in Markdown you end the line | ||
| + | with a single backslash and no trailing space. | ||
| + | ``` | ||
| This is some text with some linebreaks\ | This is some text with some linebreaks\ | ||
| Line 37: | Line 56: | ||
| ==== External ==== | ==== External ==== | ||
| - | External links are recognized automagically: | + | External links are recognized automagically: |
| - | You can set the link text as well: [This Link points to google](https:// | + | You can set the link text as well: [This Link points to google](https:// |
| `You can set the link text as well: [This Link points to google](https:// | `You can set the link text as well: [This Link points to google](https:// | ||
| + | |||
| + | Email addresses like this one: < | ||
| `Email addresses like this one: < | `Email addresses like this one: < | ||
| - | Native DokuWiki format `[[URL|linktext]]` doesn' | + | Native DokuWiki format `[[URL|linktext]]` doesn' |
| Line 90: | Line 111: | ||
| * 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 "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 [Mozilla Knowledge Base](https:// |
| <code - conf/ | <code - conf/ | ||
| Line 107: | Line 128: | ||
| [[http:// | [[http:// | ||
| + | |||
| + | `[[http:// | ||
| Please note: The image formatting is the only formatting syntax accepted in link names. | Please note: The image formatting is the only formatting syntax accepted in link names. | ||
| Line 179: | Line 202: | ||
| By using left or right whitespaces you can choose the alignment. | By using left or right whitespaces you can choose the alignment. | ||
| + | |||
| + | ---- | ||
| {{ wiki: | {{ wiki: | ||
| Right:`{{ wiki: | Right:`{{ wiki: | ||
| - | \ | + | ---- |
| {{wiki: | {{wiki: | ||
| Left: | Left: | ||
| - | \ | + | ---- |
| Center:`{{ wiki: | Center:`{{ wiki: | ||
| {{ 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 422: | Line 449: | ||
| The same is true for %%// | The same is true for %%// | ||
| - | <pre> | + | ``` |
| < | < | ||
| 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 433: | Line 460: | ||
| 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 '' | ||
| - | This is text is indented by two spaces. | + | This is text is indented by two spaces, but only works in native DokuWiki. |
| < | < | ||
| Line 446: | Line 473: | ||
| ``` | ``` | ||
| - | This is text is indented by two spaces. | + | This is text is indented by two spaces, but only works in native DokuWiki. |
| < | < | ||