Definition

Markdown definition.

Extends

Properties

data?

optional data: DefinitionData

Data associated with the mdast definition.

Overrides

Node.data

Defined in

node_modules/@types/mdast/index.d.ts:593


identifier

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.

Inherited from

Association.identifier

Defined in

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


label?

optional 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.

Inherited from

Association.label

Defined in

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


position?

optional position: Position

Position of a node in a source document.

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

Inherited from

Node.position

Defined in

node_modules/@types/unist/index.d.ts:103


title?

optional title: null | string

Advisory information for the resource, such as would be appropriate for a tooltip.

Inherited from

Resource.title

Defined in

node_modules/@types/mdast/index.d.ts:107


type

type: "definition"

Node type of mdast definition.

Overrides

Node.type

Defined in

node_modules/@types/mdast/index.d.ts:589


url

url: string

URL to the referenced resource.

Inherited from

Resource.url

Defined in

node_modules/@types/mdast/index.d.ts:102