Association
Updated 5 min ago
Defined in: packages/mdast/src/index.ts:106
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: packages/mdast/src/index.ts:120
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?: string | null
Defined in: packages/mdast/src/index.ts:131
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.