extensions/markdown-language-features/src/util/schemes.ts/getUriForLinkWithKnownExternalScheme
export function getUriForLinkWithKnownExternalScheme(link: string): vscode.Uri | undefined {
	if (knownSchemes.some(knownScheme => isOfScheme(knownScheme, link))) {
		return vscode.Uri.parse(link);
	}

	return undefined;
}