mirror of
https://github.com/heyman/heynote.git
synced 2025-08-17 18:11:12 +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 + . Toggle block fold
|
||||
Alt Show menu
|
||||
```
|
||||
|
||||
You can see all the default key bindings in Heynote's settings under 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 injectKeybindsInDocs = async () => {
|
||||
const keybindsRegex = /^(<!-- keyboard_shortcuts -->\s*).*?^(```\s+#)/gms
|
||||
const keybindsRegex = /^(<!-- keyboard_shortcuts -->\s*).*?^(\s+#)/gms
|
||||
const shortcuts = `$1**On Mac**
|
||||
|
||||
\`\`\`
|
||||
@@ -29,6 +29,7 @@ ${keyHelpStr('darwin', true)}
|
||||
|
||||
\`\`\`
|
||||
${keyHelpStr('win32', true)}
|
||||
\`\`\`
|
||||
|
||||
You can see all the default key bindings in Heynote's settings under Key Bindings.
|
||||
|
||||
|
Reference in New Issue
Block a user