File tree 4 files changed +14
-5
lines changed
4 files changed +14
-5
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,8 @@ Speech Markdown outputs platform-compatible Speech Synthesis Markup Language (SS
27
27
28
28
The resulting SSML is displayed in the Speech Markdown output channel.
29
29
30
+ For those that prefer keyboard shortcuts, use Ctrl+Shift+L.
31
+
30
32
<img src =" https://raw.githubusercontent.com/speechmarkdown/speechmarkdown-vscode/master/images/markdownpref.gif " width =" 75% " alt =" Speech Markdown Preview " />
31
33
32
34
Original file line number Diff line number Diff line change 63
63
"path" : " ./snippets.json"
64
64
}
65
65
],
66
+ "keybindings" : [
67
+ {
68
+ "command" : " extension.speechmarkdownpreview" ,
69
+ "key" : " ctrl+shift+l" ,
70
+ "when" : " editorHasSelection"
71
+ }
72
+ ],
66
73
"commands" : [
67
74
{
68
- "command" : " extension.speechmarkdown " ,
69
- "title" : " Speech Markdown to SSML"
70
-
75
+ "command" : " extension.speechmarkdownpreview " ,
76
+ "title" : " Speech Markdown to SSML" ,
77
+ "category" : " Speech Markdown "
71
78
}
72
79
],
73
80
"menus" : {
74
81
"editor/context" : [
75
82
{
76
- "command" : " extension.speechmarkdown " ,
83
+ "command" : " extension.speechmarkdownpreview " ,
77
84
"group" : " speechmarkdown@1" ,
78
85
"when" : " editorHasSelection"
79
86
}
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ export function activate(context: vscode.ExtensionContext) {
17
17
var outProv = new smdOutputProvider ( ) ;
18
18
19
19
context . subscriptions . push (
20
- vscode . commands . registerCommand ( 'extension.speechmarkdown ' , ( ) => {
20
+ vscode . commands . registerCommand ( 'extension.speechmarkdownpreview ' , ( ) => {
21
21
const editor = vscode . window . activeTextEditor ;
22
22
if ( editor !== undefined ) {
23
23
You can’t perform that action at this time.
0 commit comments