class

Crst::ListItem

Inherits Crst::Node < Reference < Object

List item within a bullet or enumerated list

Can contain paragraphs, nested lists, or other block content. The children represent the content of this list item.

Example:

item = Crst::ListItem.new
item.children << Crst::Paragraph.new("Item content")

Instance methods

children

Child nodes within this list item

Source
children=(children : Array(Crst::Node))

Child nodes within this list item

Source