Segment

Term.segment.SegmentMethod
Segment(text::Union{Segment, AbstractString}, markup::AbstractString)

Construct a Segment out of a plain string and a markup string with style info

source
Term.segment.SegmentMethod
Segment(text::Union{Segment, AbstractString}, style::MarkupStyle)

Construct a Segment out of a plain string and a MarkupStyle object.

source