Skip to main content
ESC

Lists

Robindoc supports three types of lists: ordered lists, unordered lists, and task lists (checkboxes). All list types support nested markdown content and can be customized through theming.

Unordered Lists 

Use hyphens, asterisks, or plus signs for unordered lists:

- First item
- Second item
- Third item
- Nested item
- Another nested item
- Fourth item

Result:

Or:

* First item
* Second item
* Third item

Result:

Ordered Lists 

Use numbers followed by periods for ordered lists:

1. First item
2. Second item
3. Third item
1. Nested item
2. Another nested item
4. Fourth item

Result:

  1. First item
  2. Second item
  3. Third item
    1. Nested item
    2. Another nested item
  4. Fourth item

Custom Start Numbers 

Ordered lists support custom starting numbers:

5. Fifth item
6. Sixth item
7. Seventh item

Result:

  1. Fifth item
  2. Sixth item
  3. Seventh item

The start attribute is automatically detected and applied to the <ol> element.

Task Lists 

Task lists (also called checkbox lists) are rendered as interactive checkboxes. Use - [ ] for unchecked items and - [x] for checked items:

- [ ] Uncompleted task
- [x] Completed task
- [ ] Another uncompleted task

Result:

Task List Behavior 

Nested Content 

All list types support rich nested content:

- List item with **bold text**
- List item with [a link](./03-links.md)
- List item with `inline code`
- List item with:
- Nested list
- More nested items

Result:

Important Notes 

Text FormattingTables
Return to navigation