Make a list element by starting a line with an asterisk. To increase the indent put extra spaces
before the asterisk.
* Bullet 1 * Bullet 2 * Bullet 2.1
If you need to put more than one line in the bullet list, please use _ (underscore) at the end of the line you want to break (after one space). Remember not to insert any character after the underscore.
* Bullet 1 _ another line * Bullet 2 * Bullet 2.1
Similarly, you can create numbered lists by starting a paragraph with one or more hashes.
# Item 1 # Item 2 # Item 2.1
If you need to put more than one line in the numbered list, please use _ (underscore) at the end of the line you want to break (after one space). Remember not to insert any character after the underscore.
# Item 1 _ another line # Item 2 # Item 2.1
You can mix bulleted lists and number lists.
You can use [[ul]] / [[ol]] and [[li]] tags to create advanced lists. It's especially useful when using a Boostrap-based theme. Every [[ul]] / [[ol]] and [[li]] can contain id, class, data- and style arguments. Lists can be nested.
[[ul]] [[li class="item1" data-toggle="data1"]]Item1[[/li]] [[li style="color: red;"]]Item 2 [[ol]] [[li]]Item 2.1[[/li]] [[li]]Item 2.2[[/li]] [[/ol]] [[/li]] [[/ul]]
You can use user-defined ID arguments in advanced lists, which is extremely useful building sites using Bootstrap. Please note that every user-defined ID will have a "u-" prefix added in the output HTML for the security reasons.
To make your source more readable, you can add the "u-" prefix yourself. For example, these 2 bits of wiki syntax will output the same HTML:
"u-" prefix will be added to myAdvancedList automatically when the page is saved