Minor formatting fix the key bindings section of the docs

This commit is contained in:
Jonatan Heyman
2025-06-16 22:42:48 +02:00
parent e4b4401b70
commit 4ad6cbe11a
2 changed files with 3 additions and 2 deletions

View File

@@ -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

View File

@@ -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.