Marker that is associated to another node.

interface Reference {
    identifier: string;
    label?: null | string;
    referenceType: ReferenceType;
}

Hierarchy (view full)

Properties

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.

referenceType: ReferenceType

Explicitness of the reference.