Hello i installed the package mardkown preview and i would to know how can i put shortcut key for launch with github api ?
Markdown preview package create a shortCut
jfcherng
#2
Create it with
{
"keys": ["whatever_you_like"],
"command": "markdown_preview",
"args": {
"target": "browser",
"parser": "github",
},
}
may work.
The built-in panel actually runs another command after selecting.
1 Like
problemes
#3
hello
I add your code in Preferences -> Package setting -> markdown preview -> MarkdownPreview.sublime-setting – User windows and it’s don’t work.
{
"keys": ["ctrl+alt+g"],
"command": "markdown_preview",
"args": {
"target": "browser",
"parser": "github",
}
}
0 Likes
jfcherng
#4
just like what you asked. obviously it’s st’s keybinding, not setting. you should put it in st’s keybindings.
Preferences > Keybindings
1 Like