Code
Updated 22 Oct 2026
Defined in: node_modules/.pnpm/@types+mdast@4.0.4/node_modules/@types/mdast/index.d.ts:556
Markdown code (flow) (block).
Extends
Properties
data?
optional data?: CodeData
Defined in: node_modules/.pnpm/@types+mdast@4.0.4/node_modules/@types/mdast/index.d.ts:574
Data associated with the mdast code (flow).
Overrides
lang?
optional lang?: string | null
Defined in: node_modules/.pnpm/@types+mdast@4.0.4/node_modules/@types/mdast/index.d.ts:564
Language of computer code being marked up.
meta?
optional meta?: string | null
Defined in: node_modules/.pnpm/@types+mdast@4.0.4/node_modules/@types/mdast/index.d.ts:570
Custom information relating to the node.
If the lang field is present, a meta field can be present.
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: "code"
Defined in: node_modules/.pnpm/@types+mdast@4.0.4/node_modules/@types/mdast/index.d.ts:560
Node type of mdast code (flow).
Overrides
value
value: string
Defined in: node_modules/.pnpm/@types+mdast@4.0.4/node_modules/@types/mdast/index.d.ts:472
Plain-text value.