Crst::Text
Inherits Crst::Node < Reference < Object
Plain text node
Contains unformatted text content. This is the most basic inline node
and typically appears as a child of formatted nodes like Emphasis or Strong.
Example:
text = Crst::Text.new("Hello World")
text.content # => "Hello World"
Constructors
new(content : String)
Source