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/04/04 18:48] – [Markdown syntax] Simon Grantdoc:lists [2026/08/03 10:12] (current) – [Using the toolbar] Simon Grant
Line 14: Line 14:
 `  * 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 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:
- +  * unordered List Item  
-  * unordered List Item+
   * 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 the first point '2' it is displayed as '1+2. now, if you put the first point as '2' it is displayed as '2
-1. and even if you go backwards, the display moves forward +1. but if you go backwards, the display moves forward 
-  8. indent, and you get a sub-list, probably with letters instead of numbers+  1. indent, and you get a sub-list, probably with letters instead of numbers
 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 the first point '2' it is displayed as '1+2. now, if you put the first point as '2' it is displayed as '2
-1. and even if you go backwards, the display moves forward +1. but if you go backwards, the display moves forward 
-  8. indent, and you get a sub-list, probably with letters instead of numbers+  1. indent, and you get a sub-list, probably with letters instead of numbers
 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.
  
  • doc/lists.1775328492.txt.gz
  • Last modified: 2026/08/18 23:39
  • (external edit)