class Crst::BulletList

Overview

Bullet (unordered) list container

Contains multiple ListItem nodes, each representing a bullet point. Created from RST text using -, *, or + markers.

Example:

# RST: "- First item\n- Second item"
bullet_list = Crst::BulletList.new
bullet_list.items << Crst::ListItem.new

Defined in:

crst/nodes.cr

Instance Method Summary

Instance Method Detail

def items : Array(Crst::ListItem) #

Items in this bullet list


[View source]
def items=(items : Array(Crst::ListItem)) #

Items in this bullet list


[View source]