mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-25 19:18:59 +01:00
add icons for preview and view source
This commit is contained in:
@@ -62,7 +62,7 @@ function isMarkdownFile(document: vscode.TextDocument) {
|
||||
}
|
||||
|
||||
function getMarkdownUri(document: vscode.TextDocument) {
|
||||
return document.uri.with({ scheme: 'markdown', query: document.uri.toString() });
|
||||
return document.uri.with({ scheme: 'markdown', path: String(document.version), query: document.uri.toString() });
|
||||
}
|
||||
|
||||
function openPreview(sideBySide?: boolean): void {
|
||||
|
||||
Reference in New Issue
Block a user