extensions/markdown-language-features/src/languageFeatures/definitions.ts/MdVsCodeDefinitionProvider/provideDefinition
class MdVsCodeDefinitionProvider:	async provideDefinition(document: ITextDocument, position: vscode.Position, token: vscode.CancellationToken): Promise<vscode.Definition | undefined> {
		const allRefs = await this.referencesProvider.getReferencesAtPosition(document, position, token);

		return allRefs.find(ref => ref.kind === 'link' && ref.isDefinition)?.location;
	}