Markdown link reference.

interface LinkReference {
    children: PhrasingContent[];
    data?: LinkReferenceData;
    identifier: string;
    label?: null | string;
    position?: "/home/runner/work/astro-node-fastify/astro-node-fastify/node_modules/@types/unist/index".Position;
    referenceType: ReferenceType;
    type: "linkReference";
}

Hierarchy (view full)

Properties

children: PhrasingContent[]

Children of link reference.

Data associated with the mdast link reference.

identifier: string

Relation of association.

identifier is a source value: character escapes and character references are not parsed.

It can match another node.

Its value must be normalized. To normalize a value, collapse markdown whitespace ([\t\n\r ]+) to a space, trim the optional initial and/or final space, and perform Unicode-aware case-folding.

label?: null | string

Relation of association, in parsed form.

label is a string value: it works just like title on Link or a lang on Code: character escapes and character references are parsed.

It can match another node.

Position of a node in a source document.

Nodes that are generated (not in the original source document) must not have a position.

referenceType: ReferenceType

Explicitness of the reference.

type: "linkReference"

Node type of mdast link reference.