extensions/markdown-language-features/src/features/preview.ts/MarkdownPreview/onDidClickPreviewLink
class MarkdownPreview:	private async onDidClickPreviewLink(href: string) {
		let [hrefPath, fragment] = href.split('#').map(c => decodeURIComponent(c));

		if (hrefPath[0] !== '/') {
			// We perviously already resolve absolute paths.
			// Now make sure we handle relative file paths
			const dirnameUri = vscode.Uri.parse(path.dirname(this.resource.path));
			hrefPath = vscode.Uri.joinPath(dirnameUri, hrefPath).path;
		} else {
			// Handle any normalized file paths
			hrefPath = vscode.Uri.parse(hrefPath.replace('/file', '')).path;
		}

		const config = vscode.workspace.getConfiguration('markdown', this.resource);
		const openLinks = config.get<string>('preview.openMarkdownLinks', 'inPreview');
		if (openLinks === 'inPreview') {
			const markdownLink = await resolveLinkToMarkdownFile(hrefPath);
			if (markdownLink) {
				this.delegate.openPreviewLinkToMarkdownFile(markdownLink, fragment);
				return;
			}
		}

		OpenDocumentLinkCommand.execute(this.engine, { parts: { path: hrefPath }, fragment, fromResource: this.resource.toJSON() });
	}