Skip to content

MdiKern

Defined in: nodejs/packages/mdast-util-mdi/src/types.ts:101

[[kern:<amount>:text]] — SYNTAX.md §9.

amount is kept as the raw validated string (e.g. “-0.1em”, “+0.3em”), matching ^[+-]?\d+(\.\d+)?em$ — not decomposed into sign/number, since it is only ever round-tripped into a CSS custom property value.

  • Parent

amount: string

Defined in: nodejs/packages/mdast-util-mdi/src/types.ts:103


children: MdiPhrasingContent[]

Defined in: nodejs/packages/mdast-util-mdi/src/types.ts:104

List of children.

Parent.children


optional data?: Data

Defined in: node_modules/.pnpm/@[email protected]/node_modules/@types/unist/index.d.ts:95

Info from the ecosystem.

Parent.data


optional position?: Position

Defined in: node_modules/.pnpm/@[email protected]/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.

Parent.position


type: "mdiKern"

Defined in: nodejs/packages/mdast-util-mdi/src/types.ts:102

Node type.

Parent.type