class

Crst::Emphasis

Inherits Crst::Node < Reference < Object

Emphasized text node (typically rendered in italics)

Created from RST text using single asterisks: emphasized text Can contain nested inline nodes for mixed formatting.

Example:

# RST: "*emphasized text*"
emphasis = Crst::Emphasis.new([Crst::Text.new("emphasized text")])

Constructors

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

Instance methods

children

Child nodes (typically Text nodes)

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

Child nodes (typically Text nodes)

Source