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/12/05 13:57] – [Media Files] asimong | wiki:syntax [2026/01/02 19:39] (current) – [Code Blocks] asimong | ||
|---|---|---|---|
| Line 62: | Line 62: | ||
| You put a double backslash at the end of a line\\ | You put a double backslash at the end of a line\\ | ||
| or even in the middle\\ followed by a space\\ as in native\\ DokuWiki. | or even in the middle\\ followed by a space\\ as in native\\ DokuWiki. | ||
| + | ``` | ||
| + | |||
| + | The normal Markdown syntax allows for two spaces at the end of a line | ||
| + | producing a linebreak. But if there' | ||
| + | or no spaces at all | ||
| + | then those don't produce linebreaks. | ||
| + | The only thing is, those two spaces are hard to see. | ||
| + | |||
| + | ``` | ||
| + | The normal Markdown syntax allows for two spaces at the end of a line | ||
| + | producing a linebreak. But if there' | ||
| + | or no spaces at all | ||
| + | then those don't produce linebreaks. | ||
| + | The only thing is, those two spaces are hard to see. | ||
| ``` | ``` | ||
| You should use forced newlines only if really needed. | You should use forced newlines only if really needed. | ||
| + | |||
| ### Indentation | ### Indentation | ||
| Line 190: | Line 205: | ||
| ### Level 3 headings | ### Level 3 headings | ||
| For headings that result in an html h3 tag, you have the choice of normal Dokuwiki (but remember to put a blank line after it): | For headings that result in an html h3 tag, you have the choice of normal Dokuwiki (but remember to put a blank line after it): | ||
| - | |||
| - | `==== Level 3 headings ====` | ||
| ==== Level 3 headings ==== | ==== Level 3 headings ==== | ||
| + | |||
| + | `==== Level 3 headings ====` | ||
| or to use Markdown syntax it's | or to use Markdown syntax it's | ||
| Line 231: | Line 246: | ||
| You can include external and internal [[doku> | You can include external and internal [[doku> | ||
| - | Full original size: | + | Full original size: |
| `Full original size: | `Full original size: | ||
| Line 239: | Line 254: | ||
| `Resize to given width: | `Resize to given width: | ||
| - | Resize to given width and height((when the aspect ratio of the given width and height doesn' | + | Resize to given width and height((when the aspect ratio of the given width and height doesn' |
| - | `Resize to given width and height: {{wiki: | + | `Resize to given width and height: {{wiki: |
| Resized external image: {{https:// | Resized external image: {{https:// | ||
| Line 248: | Line 263: | ||
| By using left or right whitespaces you can choose the alignment. | By using left or right whitespaces you can choose the alignment. | ||
| + | Leave a space only after `{{` will right align; only before `}}` will left align, and after `{{` and before `}}` will centre. | ||
| ---- | ---- | ||
| Line 268: | Line 284: | ||
| 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. | ||
| - | {{ wiki: | + | {{ wiki: |
| - | `{{ wiki: | + | `{{ wiki: |
| For linking an image to another page see [[#Image Links]] above. | For linking an image to another page see [[#Image Links]] above. | ||
| Line 352: | Line 368: | ||
| - But here it is rendered unordered | - But here it is rendered unordered | ||
| - Another item | - Another item | ||
| - | - Just use indention | + | - Just use indentation |
| - That's it | - That's it | ||
| Line 359: | Line 375: | ||
| - But here it is rendered unordered | - But here it is rendered unordered | ||
| - Another item | - Another item | ||
| - | - Just use indention | + | - Just use indentation |
| - That's it | - That's it | ||
| ``` | ``` | ||
| Line 404: | Line 420: | ||
| -> <- <-> => <= <=> | -> <- <-> => <= <=> | ||
| - | "He thought ' | + | "He thought ' |
| < | < | ||
| -> <- <-> => <= < | -> <- <-> => <= < | ||
| - | "He thought ' | + | "He thought ' |
| </ | </ | ||
| Line 423: | Line 439: | ||
| I think we should do it | I think we should do it | ||
| - | | + | > No we shouldn' |
| - | | + | > |
| > Really? | > Really? | ||
| Line 436: | Line 452: | ||
| > No we shouldn' | > No we shouldn' | ||
| - | >> Well, I say we should | + | > |
| > Really? | > Really? | ||
| Line 531: | Line 547: | ||
| < | < | ||
| - | 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. |
| </ | </ | ||
| Line 544: | Line 560: | ||
| < | < | ||
| - | 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. |
| </ | </ | ||
| ``` | ``` | ||