Text
public struct Text : Node, Equatable
A node containing text with marks.
-
Declaration
Swift
public let nodeType: NodeType -
The string value of the text.
Declaration
Swift
public let value: String -
An array of the markup styles which should be applied to the text.
Declaration
Swift
public let marks: [Mark] -
Undocumented
Declaration
Swift
public init(value: String, marks: [Mark]) -
THe markup styling which should be applied to the text.
See moreDeclaration
Swift
public struct Mark : Codable, Equatable -
A type of the markup styling which should be applied to the text.
See moreDeclaration
Swift
public enum MarkType : String, Codable, Equatable
View on GitHub
Text Structure Reference