Add Markdown Keybindings (#17359)

* add markdown keybindings

* remove add link keybinding

* move files

* fix layering
This commit is contained in:
Vasu Bhog
2021-10-15 11:40:19 -07:00
committed by GitHub
parent fbdb434f3a
commit c368fcab25
6 changed files with 104 additions and 47 deletions

View File

@@ -307,6 +307,10 @@
{
"command": "notebook.command.codeBlock",
"title": "%notebook.command.codeBlock%"
},
{
"command": "notebook.command.highlightText",
"title": "%notebook.command.highlightText%"
}
],
"languages": [
@@ -457,6 +461,10 @@
{
"command": "notebook.command.codeBlock",
"when": "activeEditor == workbench.editor.notebookEditor && editorLangId == markdown"
},
{
"command": "notebook.command.highlightText",
"when": "activeEditor == workbench.editor.notebookEditor && editorLangId == markdown"
}
],
"touchBar": [
@@ -639,6 +647,11 @@
"command": "notebook.command.codeBlock",
"key": "Ctrl+Shift+K",
"when": "activeEditor == workbench.editor.notebookEditor && editorLangId == markdown"
},
{
"command": "notebook.command.highlightText",
"key": "Ctrl+Shift+H",
"when": "activeEditor == workbench.editor.notebookEditor && editorLangId == markdown"
}
],
"notebook.languagemagics": [

View File

@@ -27,6 +27,7 @@
"notebook.command.italicizeText": "Italicize Markdown Text",
"notebook.command.underlineText": "Underline Markdown Text",
"notebook.command.codeBlock": "Add Code Block",
"notebook.command.highlightText": "Highlight Markdown Text",
"title.analyzeJupyterNotebook": "Analyze in Notebook",
"title.newJupyterNotebook": "New Notebook",
"title.openJupyterNotebook": "Open Notebook",