Interface DocumentLinkProvider<T>

The document link provider defines the contract between extensions and feature of showing links in the editor.

interface DocumentLinkProvider<T> {
    provideDocumentLinks(document, token): ProviderResult<T[]>;
    resolveDocumentLink?(link, token): ProviderResult<T>;
}

Type Parameters

Methods