未验证 提交 df4988d5 编写于 作者: M Matt Bierner 提交者: GitHub

Merge pull request #71416 from phaseOne/feature/fix-71414-markdown-vscode-uri

Add `vscode:` URI prefix to knownSchemes in links.ts
......@@ -5,7 +5,7 @@
import * as vscode from 'vscode';
const knownSchemes = ['http:', 'https:', 'file:', 'mailto:', 'data:', 'vscode-resource:'];
const knownSchemes = ['http:', 'https:', 'file:', 'mailto:', 'data:', 'vscode:', 'vscode-insiders:', 'vscode-resource:'];
export function getUriForLinkWithKnownExternalScheme(
link: string,
......@@ -15,4 +15,4 @@ export function getUriForLinkWithKnownExternalScheme(
}
return undefined;
}
\ No newline at end of file
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册