extensions/markdown-language-features/src/preview/preview.ts/MarkdownPreview/onDidClickPreviewLink
class MarkdownPreview:	private async onDidClickPreviewLink(href: string) {
		const targetResource = resolveDocumentLink(href, this.resource);

		const config = vscode.workspace.getConfiguration('markdown', this.resource);
		const openLinks = config.get<string>('preview.openMarkdownLinks', 'inPreview');
		if (openLinks === 'inPreview') {
			const linkedDoc = await resolveUriToMarkdownFile(this._workspace, targetResource);
			if (linkedDoc) {
				this.delegate.openPreviewLinkToMarkdownFile(linkedDoc.uri, targetResource.fragment);
				return;
			}
		}

		return openDocumentLink(this._tocProvider, targetResource, this.resource);
	}