Literal

Abstract mdast node that contains the smallest possible value.

This interface is supposed to be extended if you make custom mdast nodes.

For a union of all registered mdast literals, see Literals.

Extends

Extended by

Properties

data?

optional data: Data

Info from the ecosystem.

Inherited from

Node.data

Defined in

node_modules/@types/mdast/index.d.ts:492


position?

optional position: Position

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

Node.position

Defined in

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


type

type: string

Node type.

Inherited from

Node.type

Defined in

node_modules/@types/unist/index.d.ts:90


value

value: string

Plain-text value.

Defined in

node_modules/@types/mdast/index.d.ts:472