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/03/31 07:11] – [Using the toolbar] Simon Grant | doc:lists [2026/04/12 18:09] (current) – Simon Grant | ||
|---|---|---|---|
| Line 3: | Line 3: | ||
| ====== Lists ====== | ====== Lists ====== | ||
| - | Try out all these techniques below in the [[playground: | + | //Try out all these techniques below in the [[playground: |
| ===== Using the toolbar ===== | ===== Using the toolbar ===== | ||
| Line 11: | Line 11: | ||
| {{list-icons.png}} | {{list-icons.png}} | ||
| - | The one on the left has numbers; the one on the right has dots. However, because of the Markdown plugin, both of these actually give you an unordered, bulleted list. So, least confusing | + | The one on the left has numbers; the one on the right has dots. The simplest one to use is the one on the right, when\\ |
| ` * Unordered List Item` appears, with the two blank spaces before it. The text is highlighted already, so just type what you want to appear as the item. | ` * Unordered List Item` appears, with the two blank spaces before it. The text is highlighted already, so just type what you want to appear as the item. | ||
| - | 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 gives ` - Ordered List Item`: | + | For ordered lists, on a new blank line, pressing the other icon on the left gives ` - Ordered List Item`: |
| ``` | ``` | ||
| - | - Ordered List Item | + | - Ordered List Item |
| - | - another | + | - another |
| - another | - another | ||
| ``` | ``` | ||
| + | which gives: | ||
| - Ordered List Item | - Ordered List Item | ||
| - | - another | + | - another |
| - 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. | ||
| Line 91: | Line 92: | ||
| For an unordered (bulleted) list in Markdown, just start a line with `-` or `*`. Indent, as shown above, to create sub-items. Another **very important point** for Markdown list to work, they need a blank link before them. | For an unordered (bulleted) list in Markdown, just start a line with `-` or `*`. Indent, as shown above, to create sub-items. Another **very important point** for Markdown list to work, they need a blank link before them. | ||
| - | For ordered (numbered) lists, you can use numbers — this comes out exactly as expected: | + | For ordered (numbered) lists, you can use numbers |
| ``` | ``` | ||
| 1. the first point | 1. the first point | ||