Trilium Frontend API
    Preparing search index...

    Interface AddLinkOpts

    interface AddLinkOpts {
        hasSelection: boolean;
        text: string;
        addLink(
            notePath: string,
            linkTitle: string,
            externalLink?: boolean,
        ): Promise<void>;
    }
    Index
    hasSelection: boolean
    text: string
    • Parameters

      • notePath: string
      • linkTitle: string
      • OptionalexternalLink: boolean

      Returns Promise<void>