class
Crst::Text
- Crst::Text
- Crst::Node
- Reference
- Object
Overview
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"
Defined in:
crst/nodes.crConstructors
Instance Method Summary
-
#content : String
The text content
-
#content=(content : String)
The text content