Text

Defined in: node_modules/@types/hast/index.d.ts:268

HTML character data (plain text).

Extends

Properties

data?

optional data: TextData

Defined in: node_modules/@types/hast/index.d.ts:276

Data associated with the text.

Overrides

Literal.data


position?

optional position: Position

Defined in: node_modules/@types/unist/index.d.ts:103

Position of a node in a source document.

Nodes that are generated (not in the original source document) must not have a position.

Inherited from

Literal.position


type

type: "text"

Defined in: node_modules/@types/hast/index.d.ts:272

Node type of HTML character data (plain text) in hast.

Overrides

Literal.type


value

value: string

Defined in: node_modules/@types/hast/index.d.ts:145

Plain-text value.

Inherited from

Literal.value