numbered
Adds a numbered list with a block structure.
Creates an ordered list with sequential numbers (1.
, 2.
, etc.).
Example:
numbered {
item("First step")
item("Second step") {
// Nested content
+"Details about this step"
bulleted {
item("Important note")
item("Another note")
}
}
item("Final step")
}
Content copied to clipboard
Parameters
block
The list content builder