mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-21 09:08:53 +01:00
add icons for preview and view source
This commit is contained in:
@@ -42,11 +42,30 @@
|
||||
"commands": [
|
||||
{
|
||||
"command": "extension.previewMarkdown",
|
||||
"title": "%markdown.previewMarkdown.title%"
|
||||
"title": "%markdown.previewMarkdown.title%",
|
||||
"context": [{
|
||||
"where": "editor/primary",
|
||||
"when": "markdown",
|
||||
"icon": {
|
||||
"light": "./media/Preview.svg",
|
||||
"dark": "./media/Preview_inverse.svg"
|
||||
}
|
||||
},{
|
||||
"where": "editor/primary",
|
||||
"when": { "scheme": "markdown" },
|
||||
"icon": {
|
||||
"light": "./media/ViewSource.svg",
|
||||
"dark": "./media/ViewSource_inverse.svg"
|
||||
}
|
||||
}]
|
||||
},
|
||||
{
|
||||
"command": "extension.previewMarkdownSide",
|
||||
"title": "%markdown.previewMarkdownSide.title%"
|
||||
"title": "%markdown.previewMarkdownSide.title%",
|
||||
"context": {
|
||||
"where": "editor/secondary",
|
||||
"when": "markdown"
|
||||
}
|
||||
}
|
||||
],
|
||||
"keybindings": [
|
||||
|
||||
Reference in New Issue
Block a user