Skip to content

Commit eaa1994

Browse files
committed
Add alias for markdown commands
microsoft#39778
1 parent ab684da commit eaa1994

1 file changed

Lines changed: 21 additions & 6 deletions

File tree

extensions/markdown/package.json

Lines changed: 21 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,10 @@
9292
"commands": [
9393
{
9494
"command": "markdown.showPreview",
95-
"title": "%markdown.preview.title%",
95+
"title": {
96+
"original": "Open Preview",
97+
"value": "%markdown.preview.title%"
98+
},
9699
"category": "Markdown",
97100
"icon": {
98101
"light": "./media/Preview.svg",
@@ -101,7 +104,10 @@
101104
},
102105
{
103106
"command": "markdown.showPreviewToSide",
104-
"title": "%markdown.previewSide.title%",
107+
"title": {
108+
"original": "Open Preview to the Side",
109+
"value": "%markdown.previewSide.title%"
110+
},
105111
"category": "Markdown",
106112
"icon": {
107113
"light": "./media/PreviewOnRightPane_16x.svg",
@@ -110,7 +116,10 @@
110116
},
111117
{
112118
"command": "markdown.showSource",
113-
"title": "%markdown.showSource.title%",
119+
"title": {
120+
"original": "Show Source",
121+
"value": "%markdown.showSource.title%"
122+
},
114123
"category": "Markdown",
115124
"icon": {
116125
"light": "./media/ViewSource.svg",
@@ -119,12 +128,18 @@
119128
},
120129
{
121130
"command": "markdown.refreshPreview",
122-
"title": "%markdown.refreshPreview.title%",
131+
"title": {
132+
"original": "Refresh Preview",
133+
"value": "%markdown.refreshPreview.title%"
134+
},
123135
"category": "Markdown"
124136
},
125137
{
126138
"command": "markdown.showPreviewSecuritySelector",
127-
"title": "%markdown.showPreviewSecuritySelector.title%",
139+
"title": {
140+
"original": "Change Preview Security Settings",
141+
"value": "%markdown.showPreviewSecuritySelector.title%"
142+
},
128143
"category": "Markdown"
129144
}
130145
],
@@ -323,4 +338,4 @@
323338
"gulp-rename": "^1.2.2",
324339
"gulp-replace": "^0.5.4"
325340
}
326-
}
341+
}

0 commit comments

Comments
 (0)