Lists

Docraft supports ordered (<List>) and unordered (<UList>) lists.

Ordered List

<List style="number">
  <Text>First item</Text>
  <Text>Second item</Text>
  <Text>Third item</Text>
</List>

Attribute

Type

Description

style

string

number (1, 2, 3…) or roman (I, II, III…).

Unordered List

<UList dot="circle">
  <Text>Apple</Text>
  <Text>Banana</Text>
  <Text>Cherry</Text>
</UList>

Attribute

Type

Description

dot

string

Marker style: - (dash), * (star), circle, or box.