mirror of
https://github.com/heyman/heynote.git
synced 2025-08-18 02:20:08 +02:00
Minor formatting fix the key bindings section of the docs
This commit is contained in:
@@ -72,10 +72,10 @@ Ctrl + Shift + [ Fold block(s)
|
|||||||
Ctrl + Shift + ] Unfold block(s)
|
Ctrl + Shift + ] Unfold block(s)
|
||||||
Ctrl + Shift + . Toggle block fold
|
Ctrl + Shift + . Toggle block fold
|
||||||
Alt Show menu
|
Alt Show menu
|
||||||
|
```
|
||||||
|
|
||||||
You can see all the default key bindings in Heynote's settings under Key Bindings.
|
You can see all the default key bindings in Heynote's settings under Key Bindings.
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
## Custom Key Bindings
|
## Custom Key Bindings
|
||||||
|
|
||||||
|
@@ -18,7 +18,7 @@ const isDevelopment = process.env.NODE_ENV === "development" || !!process.env.VS
|
|||||||
const isProduction = process.env.NODE_ENV === "production"
|
const isProduction = process.env.NODE_ENV === "production"
|
||||||
|
|
||||||
const injectKeybindsInDocs = async () => {
|
const injectKeybindsInDocs = async () => {
|
||||||
const keybindsRegex = /^(<!-- keyboard_shortcuts -->\s*).*?^(```\s+#)/gms
|
const keybindsRegex = /^(<!-- keyboard_shortcuts -->\s*).*?^(\s+#)/gms
|
||||||
const shortcuts = `$1**On Mac**
|
const shortcuts = `$1**On Mac**
|
||||||
|
|
||||||
\`\`\`
|
\`\`\`
|
||||||
@@ -29,6 +29,7 @@ ${keyHelpStr('darwin', true)}
|
|||||||
|
|
||||||
\`\`\`
|
\`\`\`
|
||||||
${keyHelpStr('win32', true)}
|
${keyHelpStr('win32', true)}
|
||||||
|
\`\`\`
|
||||||
|
|
||||||
You can see all the default key bindings in Heynote's settings under Key Bindings.
|
You can see all the default key bindings in Heynote's settings under Key Bindings.
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user