parent nodes: TextFormatting
Text Lists
Back
General
Wikidpad allows the use of single- and multilevel lists; in principle these are:the unordered or bulleted listthe ordered or numbered list
There is also a third (hidden) list, that is used in Wikidpad to support indentation; see Textformatting: Basics
Top
Unordered lists
General
An unordered list is a bulleted list. To create items for such a list, start with an empty line and type: a tab, an asterisk and a space and then type the text of the list item; so " * item text" will result in:
Compare the results in both editor and preview.
A multilevel list can be created, using indentation; like this:
The level of a list item is defined by it's indentation; i.e. the number of tabs in front of it.
Auto list
To add a second item to a list, put the cursor at the end of a list item (if it isn't already there) and press Enter; so " * item text" followed by an Enter will result in:
A new list item will be created on the next line and all that has to be done, is to type the item text. This mechanism also supports multi level lists and will indent a new item in accordance with that of the preceding item. To end the auto listing, do the same, but press Enter twice. [1]!!
This automatic creation of list items is called auto-bulleting. It can be switched on and of using the option: "menu / Editor / Settings / Auto-bullets".
The automatic ending of a list can also be switched on and of with the option: "menu / Wiki / Options / Editor / Auto-unbullets".
Indentation adjustment
The indentation of two or more consecutive list items, and with it their list level, can be increased by selecting them and pressing Tab. To reduce indentation, press Shift+Tab instead. So selecting items 2 and 3 in the list below
and pressing tab, wil result in:
See in preview how this not only influences the indentation, but also the type of bullets used (not in internal preview). Tabs can of course also be added or removed manually.
Caution!!
Due to some misconduct of the Wikidpad parsing and conversion mechanism, it also interpretes lines starting with an asterisk followed by a space, but with nó tab in front of it, as a bulleted list [2]. In this case however it will indent any and all lines on the rest of the page and there is no way, to end that. To see the result, remove the backslashes in front of the "list items" below and switch (back) to preview.
* Part
* of list
So be sure to indent any bulleted lists, to prevent this problem from occurring!
If you dó need something on the first position of a line and a bullet would also do the trick for you, you could use the html entity "•" resulting in:
• Part (• Part)
• of list (• of list)
Top
[1] And then follow that up with a "Backspace" since WikidPad will stop the list, but it won't stop indenting and you need the backspace to stop thát to! [2]
[2] This behaviour might be changed in an upcoming version of WikidPad.
Ordered lists
General
An ordered list is a numbered list. To create such a list, start with an empty line and type: a tab, any digit or number, a period and a space and then type the text of the list item; so " 1. item text" will result in:Item text
The numbers of the list items can be any number, they don't have to be consecutive and the list may countain doubles. For html preview and export this makes no difference; the list is transformed into an html "ordered list" element ("<ol>"), that will number the list consecutive, starting with one, no matter whát it's definition is in the editor. Compare the original and generated lists below:
100. item 100
25. item 25
36. item 36
25. item 25
2. item 2
results in:item 100item 25item 36item 25item 2
Wikidpad supports hierarchical ordered lists, like these:item 1
item 1.1
item 1.1.1
item 1.2
item 2
Use indentation to control the levels of the items. Next to single numbers in combination with indentation, also hierarchical numbers of the type 15.4.3. can be used to define a leveled list; see the following original and generated lists as an example:
1. item 1
1.1. item 1.1
1.1.1. item 1.1.1
1.2. item 1.2
2. item 2
results in:item 1
item 1.1
item 1.1.1
item 1.2
item 2
The resulting list turns out exactly like the general - user indented - example for the hierarchical ordered list above [6].
Attention!
You can not have two consecutive numbered lists, separated only by an empty line. WikidPad will not accept the empty line as an end-of-list indication; it will ignore it and will combine both lists into one [5]; like this (switch to preview):list 1 item 1list 1 item 2
list 2 item 1list 2 item 2
You can break this behaviour by putting the html entity " " at the start of the empty line, separating both lists. The line is now no longer considered empty and the entity generates a (non breakable) space, so it won't be visible in the endresult.
Auto list
The editor supports auto-bulleting for ordered lists, the same way it does for unordered lists and it is controled by the same options. As an extra the editor will also auto-number any next item, that is added to the list; so " 1. item text", followed by an Enter, will result in:Item text
This will only number a newly added or inserted item relative to the preceding item in the list; it will nót renumber the entire list, when an item is inserted somewhere in the middel of the list. This works both for single level lists ánd for multi level hierarchical lists; pressing Enter at the end of item 1.1.1 will result in:item 1
item 1.1
item 1.1.1
item 1.2
item 2
The editor also supports auto-numbering of hierarchical numbers: so " 15.4.3. item text 15.4.3", followed by an Enter will result in:Item text 15.4.3
with the correct level of indentation; compare it with the leveled list above.
Remark External preview and exported html dó correctly indent this, but internal preview doesn't; this is a known bug [4].
Indentation adjustment
The indentation and therefore the numbering level can be changed the same way as for unordered lists. So selecting items 2 and 3 in the list belowitem 1item 2item 3item 4
and pressing tab, wil result in:item 1
item 2
item 3
item 4
See in preview how this not only influences the indentation, but also the numbering of the items.
Top
[4] This will be corrected in an upcomming (beta) version of WikidPad.
[5] This behaviour might change in an upcoming (beta) version of Wikidpad.
[6] Currently there is a bug in WikidPad, that prevents it from indenting this correctly; this bug will be corrected in an upcomming (beta) version of WikidPad.
Mixed lists
The ordered and unordered list types can be be mixed freely into one list; example:Project 1
Assess feasibility request
Analyse requestResearch html requirements
Check xhtml possibilities and restrictions
Check css possibilities and restrictions
Check restrictions of internal previewer
Assess syntax requirements
Todo: research possibilities Wikidpad
Research editorResearch parserResearch converter
Preview converterExport converter
Implement request
Design solutionProgram solutionTest solutionImplement solution
Project 2Project n
Top
Settings
Menu
Editor: settings, bullets
• Auto-bullets
Switches the automatic creation of new list items in the editor on or of.
Top
Options
Application settings: Editor, bullets
• Auto-unbullets
When this option is active and enter is pressed on a line which contains only a bullet or a numbering without text, the bullet is removed.
Top
previous: Back
parents: TextFormatting
[help.status: done]