syntax
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| syntax [August 26, 2026 at 15:46] – created - external edit 127.0.0.1 | syntax [September 17, 2026 at 16:22] (current) – Update for markdowku fixes 0.0.0.0 | ||
|---|---|---|---|
| Line 37: | Line 37: | ||
| < | < | ||
| **bold** and //italic// and *italic* and _italic_ | **bold** and //italic// and *italic* and _italic_ | ||
| - | __underline__ | + | __underlined text__ |
| **// | **// | ||
| < | < | ||
| Line 43: | Line 43: | ||
| **bold** and //italic// and *italic* and _italic_ | **bold** and //italic// and *italic* and _italic_ | ||
| - | __underline__ | + | __underlined text__ |
| **// | **// | ||
| < | < | ||
| - | Note that `'' | + | Note that `'' |
| ## Paragraphs and line breaks | ## Paragraphs and line breaks | ||
| Line 53: | Line 53: | ||
| A blank line starts a new paragraph. Single newlines inside a paragraph are ignored. | A blank line starts a new paragraph. Single newlines inside a paragraph are ignored. | ||
| - | Forced line breaks come in two forms, both of which need the trailing whitespace: | + | Forced line breaks come in three forms: |
| < | < | ||
| DokuWiki style\\ next line | DokuWiki style\\ next line | ||
| Markdown style, two trailing spaces | Markdown style, two trailing spaces | ||
| + | next line | ||
| + | Markdown style, a trailing backslash\ | ||
| next line | next line | ||
| </ | </ | ||
| - | `\\` immediately followed by a letter | + | `\\` immediately followed by a letter |
| ## Links | ## Links | ||
| Line 93: | Line 95: | ||
| </ | </ | ||
| - | A **bare e-mail address is not linked**. It needs the angle brackets. The available interwiki shortcuts are listed in `conf/ | + | A bare e-mail address is linked |
| Link text is plain text: `**bold**` inside a link title is printed literally, not rendered. Math and images are the exceptions: `[[ket-0|$\lvert 0\rangle$]]` and `[[qubit|{{img.png}}]]` both work. | Link text is plain text: `**bold**` inside a link title is printed literally, not rendered. Math and images are the exceptions: `[[ket-0|$\lvert 0\rangle$]]` and `[[qubit|{{img.png}}]]` both work. | ||
| Line 260: | Line 262: | ||
| | '' | | '' | ||
| - | Two limitations | + | Two more things |
| - | - `\(...\)` and `\[...\]` | + | - `\(...\)` and `\[...\]` work as delimiters too. |
| - Math inside code blocks and inline code stays literal, which is exactly what you want when writing *about* math syntax. | - Math inside code blocks and inline code stays literal, which is exactly what you want when writing *about* math syntax. | ||
| Line 363: | Line 365: | ||
| ---- | ---- | ||
| - | Keep a **blank line above it**. A row of dashes directly underneath a line of text is a Setext heading, not a rule. That is true even inside a code block, which is why the example above is a live rule rather than a listing. | + | Keep a **blank line above it**. A row of dashes directly underneath a line of text is a Setext heading, not a rule. |
| ## Smileys and typography | ## Smileys and typography | ||
| Line 381: | Line 383: | ||
| ^ Type ^ Get ^ Type ^ Get ^ | ^ Type ^ Get ^ Type ^ Get ^ | ||
| - | | '' | + | | '' |
| | '' | | '' | ||
| - | | '' | + | | '' |
| | '' | | '' | ||
| | '' | | '' | ||
| | '' | | '' | ||
| - | The full list lives in `conf/ | + | The full list lives in `conf/ |
| ## Escaping | ## Escaping | ||
| Line 404: | Line 406: | ||
| For inline examples that contain math or wiki markup, combine the two: `'' | For inline examples that contain math or wiki markup, combine the two: `'' | ||
| - | Backslash | + | A backslash |
| ## Control macros | ## Control macros | ||
| Line 431: | Line 433: | ||
| ^ Looks like it should work ^ What actually happens ^ Use instead ^ | ^ Looks like it should work ^ What actually happens ^ Use instead ^ | ||
| | '' | | '' | ||
| - | | '' | ||
| | '' | | '' | ||
| | Markdown pipe tables | separator row shows as dashes | DokuWiki '' | | Markdown pipe tables | separator row shows as dashes | DokuWiki '' | ||
| | '' | | '' | ||
| - | | '' | ||
| | '' | | '' | ||
| - | | '' | + | | '' |
| | Markdown list right after a paragraph | may swallow what follows | leave a blank line, or use '' | | Markdown list right after a paragraph | may swallow what follows | leave a blank line, or use '' | ||
| | '' | | '' | ||
syntax.md · Last modified: by 0.0.0.0
