ITextChunk

Type interface

A piece of text, as split up by TextFormatter.

Inheritance

ITextChunk does not extend any other symbol.

ITextChunk is not extended by any other symbol.

Properties

text
#

Type string

The chunk's text.

type
#

Type "value" | "text" | "format" | "image"

Type of the chunk: "value" for text to process, "text" for quoted text shown as it is, "format" for a style block such as [bold], or "image" for an image block.