From a2c258a6277ab356a5b2848f187b7758c9bbbfd5 Mon Sep 17 00:00:00 2001 From: Bauke Date: Wed, 13 Dec 2023 14:04:21 +0100 Subject: [PATCH] Add documentation for how to create shortcuts. --- source/options/markdown-toolbar-editor.tsx | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/source/options/markdown-toolbar-editor.tsx b/source/options/markdown-toolbar-editor.tsx index ae7af10..d1322f2 100644 --- a/source/options/markdown-toolbar-editor.tsx +++ b/source/options/markdown-toolbar-editor.tsx @@ -148,6 +148,15 @@ class App extends Component { Name, the name of the snippet to display in the toolbar. +
  • + Shortcut, an optional keyboard shortcut that will + insert the snippet when the combination of keys is pressed. A + shortcut is defined as a list of optional modifier keys and a + single final main key separated by plus signs, for example{" "} + CTRL+ALT+S. The available modifier keys are ALT,{" "} + CTRL and SHIFT. The modifier keys can be in any order however + the final key must come at the end. +
  • Enable, whether the snippet should be added to the toolbar.