mdast2docx logo Md2Docx
Version 1.8.0API DocsInterfaces

Code

Updated 5 min ago

Defined in: packages/mdast/src/index.ts:628

Markdown code (flow) (block).

Extends

Properties

data?

optional data?: CodeData

Defined in: packages/mdast/src/index.ts:646

Data associated with the mdast code (flow).

Overrides

Literal.data

lang?

optional lang?: string | null

Defined in: packages/mdast/src/index.ts:636

Language of computer code being marked up.

meta?

optional meta?: string | null

Defined in: packages/mdast/src/index.ts:642

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

Literal.position

type

type: "code"

Defined in: packages/mdast/src/index.ts:632

Node type of mdast code (flow).

Overrides

Literal.type

value

value: string

Defined in: packages/mdast/src/index.ts:544

Plain-text value.

Inherited from

Literal.value

On this page