Literal
Updated 22 Oct 2026
Defined in: node_modules/.pnpm/@types+mdast@4.0.4/node_modules/@types/mdast/index.d.ts:468
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
Defined in: node_modules/.pnpm/@types+mdast@4.0.4/node_modules/@types/mdast/index.d.ts:492
Info from the ecosystem.
Inherited from
position?
optional position?: Position
Defined in: node_modules/.pnpm/@types+unist@3.0.3/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
type
type: string
Defined in: node_modules/.pnpm/@types+unist@3.0.3/node_modules/@types/unist/index.d.ts:90
Node type.
Inherited from
value
value: string
Defined in: node_modules/.pnpm/@types+mdast@4.0.4/node_modules/@types/mdast/index.d.ts:472
Plain-text value.