Skip to main content

Properties

CodeData
Data associated with the mdast code (flow).
string | null
Language of computer code being marked up.
string | null
Custom information relating to the node.If the lang field is present, a meta field can be present.
Position
Position of a node in a source document.Nodes that are generated (not in the original source document) must not have a position.
"code"
required
Node type of mdast code (flow).
string
required
Plain-text value.