Interface: Code
Contents
Extends
Omit
<MdAst.Code
,"value"
>
Properties
data
data?:
CodeData
Data associated with the mdast code (flow).
Inherited from
Omit.data
Source
node_modules/.pnpm/@types+mdast@4.0.3/node_modules/@types/mdast/index.d.ts:574
lang
lang?:
null
|string
Language of computer code being marked up.
Inherited from
Omit.lang
Source
node_modules/.pnpm/@types+mdast@4.0.3/node_modules/@types/mdast/index.d.ts:564
meta
meta?:
null
|string
Custom information relating to the node.
If the lang field is present, a meta field can be present.
Inherited from
Omit.meta
Source
node_modules/.pnpm/@types+mdast@4.0.3/node_modules/@types/mdast/index.d.ts:570
position
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
Omit.position
Source
node_modules/.pnpm/@types+unist@3.0.2/node_modules/@types/unist/index.d.ts:103
type
type:
"code"
Overrides
Omit.type
Source
packages/types/src/ast/index.ts:120
value
value:
null
|string
|CodeOperation
[]
Source
packages/types/src/ast/index.ts:121
Generated using typedoc-plugin-markdown and TypeDoc