Association

Defined in: node_modules/@types/mdast/index.d.ts:57

Internal relation from one node to another.

Whether the value of identifier is expected to be a unique identifier or not depends on the type of node including the Association. An example of this is that they should be unique on Definition, whereas multiple LinkReferences can be non-unique to be associated with one definition.

Extended by

Properties

identifier

identifier: string

Defined in: node_modules/@types/mdast/index.d.ts:71

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?

optional label: null | string

Defined in: node_modules/@types/mdast/index.d.ts:82

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.