Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
doc:lists [2026/03/31 07:11] – [Using the toolbar] Simon Grantdoc:lists [2026/04/12 18:09] (current) Simon Grant
Line 3: Line 3:
 ====== Lists ====== ====== Lists ======
  
-Try out all these techniques below in the [[playground:playground]].+//Try out all these techniques below in the [[playground: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 to use the right one, when\\+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 'return' key, it gives you the start of a new list item of the same kind at the same level. Press return again if you don't want that, and it goes away, adding blank lines so DokuWiki knows you have finished the list. With no blank line, the text is simply appended to the list item.+A nice feature of the DokuWiki editor is that if you are at the end of a list item line, and press the 'return' key, it gives you the start of a new list item of the same kind at the same level. Press return again if you don't want that, and it goes away, adding blank lines so DokuWiki knows you have finished the list. With no blank line, the text is simply appended to the last list item.
  
-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 and no spaces on the left — this comes out exactly as expected:
 ``` ```
 1. the first point 1. the first point
  • doc/lists.1774941097.txt.gz
  • Last modified: 2026/03/31 07:11
  • by Simon Grant