AppleSauce
    Preparing search index...
    interface NostrMention {
        children: PhrasingContent[];
        data:
            | { data: EventPointer; type: "nevent" }
            | { data: ProfilePointer; type: "nprofile" }
            | { data: AddressPointer; type: "naddr" }
            | { data: string; type: "npub" }
            | { data: Uint8Array; type: "nsec" }
            | { data: string; type: "note" };
        position?: Position;
        title?: null | string;
        type: "link";
        url: string;
    }

    Hierarchy

    • Link
      • NostrMention
    Index

    Properties

    children: PhrasingContent[]

    Children of link.

    data:
        | { data: EventPointer; type: "nevent" }
        | { data: ProfilePointer; type: "nprofile" }
        | { data: AddressPointer; type: "naddr" }
        | { data: string; type: "npub" }
        | { data: Uint8Array; type: "nsec" }
        | { data: string; type: "note" }

    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: "link"

    Node type of mdast link.

    url: string

    URL to the referenced resource.