Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| doc:lists [2026/04/12 18:09] – Simon Grant | doc:lists [2026/08/03 10:12] (current) – [Using the toolbar] Simon Grant | ||
|---|---|---|---|
| Line 16: | Line 16: | ||
| A nice feature of the DokuWiki editor is that if you are at the end of a list item line, and press the ' | A nice feature of the DokuWiki editor is that if you are at the end of a list item line, and press the ' | ||
| + | /* | ||
| For ordered lists, on a new blank line, pressing the other icon on the left gives ` - Ordered List Item`: | For ordered lists, on a new blank line, pressing the other icon on the left gives ` - Ordered List Item`: | ||
| ``` | ``` | ||
| Line 27: | Line 28: | ||
| - another | - another | ||
| - | Make sure you do //**not**// have a blank line before the ordered list starts. If you do, it interprets it following Markdown syntax. | + | |
| + | |||
| + | Make sure you do **not** have a blank line before the ordered list starts. If you do, it interprets it following Markdown syntax. | ||
| + | */ | ||
| + | |||
| + | For the time being, the only ordered list method that works is using Markdown syntax. | ||
| Line 43: | Line 50: | ||
| gives you this, in proper DokuWiki style: | gives you this, in proper DokuWiki style: | ||
| - | + | | |
| - | | + | |
| * two spaces before is the norm for DokuWiki list items | * two spaces before is the norm for DokuWiki list items | ||
| * a sub-item | * a sub-item | ||
| Line 67: | Line 73: | ||
| ==== Ordered lists ==== | ==== Ordered lists ==== | ||
| + | FIXME: ordered lists currently don't work with DokuWiki syntax, because it is overridden by Markdown syntax. | ||
| ``` | ``` | ||
| To get ordered lists to work with DokuWiki syntax: | To get ordered lists to work with DokuWiki syntax: | ||
| Line 101: | Line 108: | ||
| 2. the second point | 2. the second point | ||
| - | The interesting quirk of Markdown list syntax is that the numbers you use are ignored for the display. Look what happens when you type this: | + | The interesting quirk of Markdown list syntax is that the numbers you use are ignored for the display, except the first number in the list. Look what happens when you type this: |
| ``` | ``` | ||
| - | 2. even if you number | + | 2. now, if you put the first point as ' |
| - | 1. and even if you go backwards, the display moves forward | + | 1. but if you go backwards, the display moves forward |
| - | | + | |
| 10. and even if you use two-digit numbers, they are just more numbers. | 10. and even if you use two-digit numbers, they are just more numbers. | ||
| ``` | ``` | ||
| - | 2. even if you number | + | 2. now, if you put the first point as ' |
| - | 1. and even if you go backwards, the display moves forward | + | 1. but if you go backwards, the display moves forward |
| - | | + | |
| 10. and even if you use two-digit numbers, they are just more numbers. | 10. and even if you use two-digit numbers, they are just more numbers. | ||