class Crst::Emphasis

Overview

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")])

Defined in:

crst/nodes.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(children : Array(Crst::Node)) #

[View source]

Instance Method Detail

def children : Array(Crst::Node) #

Child nodes (typically Text nodes)


[View source]
def children=(children : Array(Crst::Node)) #

Child nodes (typically Text nodes)


[View source]