Lists

Zolt supports multiple list types with consistent syntax and attributes.

Bullet Lists

Create unordered lists using - prefix:

zolt
- First item
- Second item
- Third item
Result
  • First item
  • Second item
  • Third item

Nested Lists

Indent with 2 spaces or 1 tab:

zolt
- Main item 1
  - Sub-item 1.1
  - Sub-item 1.2
- Main item 2
  - Sub-item 2.1
    - Sub-item 2.1.1
Result
  • Main item 1
    • Sub-item 1.1
    • Sub-item 1.2
  • Main item 2
    • Sub-item 2.1
      • Sub-item 2.1.1

Numbered Lists

Create ordered lists with numbers:

zolt
1. First step
2. Second step
3. Third step
Result
  1. First step
  2. Second step
  3. Third step

The parser handles numbered automatically:

zolt
1. Step one
1. Step two
1. Step three
Result
  1. Step one
  2. Step two
  3. Step three

Task Lists (Checkboxes)

Create task lists:

zolt
Using "-":
- [ ] A simple task
  - [x] Completed sub-task
  - [ ] Another sub-task
- [ ] An urgent task{color=red}

Without prefix:
[x] Write documentation
[x] Add examples
[ ] Content
  [ ] Review
  [ ] Publish
Using "-"
  • A simple task
    • Completed sub-task
    • Another sub-task
  • An urgent task
Without prefix
  • Write documentation
  • Add examples
  • Content
    • Review
    • Publish

Definition Lists

Define terms using : prefix:

zolt
: HTML
:   HyperText Markup Language, the standard markup language
:   for documents designed to be displayed in a web browser.

: CSS
:   Cascading Style Sheets, a style sheet language used
:   for describing the presentation of a document.
Result
HTML
HyperText Markup Language, the standard markup language
for documents designed to be displayed in a web browser.
CSS
Cascading Style Sheets, a style sheet language used
for describing the presentation of a document.

Plain Lists

Display items without bullets or numbers using + :

zolt
+ First element
+ Second element
+ Third element
Result
  • First element
  • Second element
  • Third element

Useful for inline lists without visual markers.

List Attributes

Apply attributes to list items:

zolt
- Normal item
- Important item{color=red fontWeight=bold}
- Highlighted item{background=yellow}
- Custom styled item
Result
  • Normal item
  • Important item
  • Highlighted item
  • Custom styled item

Complex Examples

Mixed List Types

zolt
- Fruits
  1. Imported
    - Banana
    - Pineapple
  2. Local
    - Apple
    - Orange
- Vegetables
  - [x] Carrots
  - [ ] Tomatoes
Result
  • Fruits
    1. Imported
      • Banana
      • Pineapple
    2. Local
      • Apple
      • Orange
  • Vegetables
    • Carrots
    • Tomatoes

Best Practices

  1. Consistency : Use the same list type within a section
  2. Nesting : Use 2 spaces or 1 tab (don't mix)
  3. Attributes : Use attributes to highlight important items
  4. Definitions : Use definition lists for glossaries and terminology

© 2026 Marmotz