interface NostrMention {
    children: PhrasingContent[];
    data: DecodeResult;
    position?: Position;
    title?: null | string;
    type: "link";
    url: string;
}

Hierarchy

  • Link
    • NostrMention

Properties

children: PhrasingContent[]

Children of link.

data: DecodeResult

Data associated with the mdast link.

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.

title?: null | string

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

type

Node type of mdast link.

url: string

URL to the referenced resource.