Skip to content

Commit 4ad6cbe

Browse files
committed
Minor formatting fix the key bindings section of the docs
1 parent e4b4401 commit 4ad6cbe

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

docs/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,10 @@ Ctrl + Shift + [ Fold block(s)
7272
Ctrl + Shift + ] Unfold block(s)
7373
Ctrl + Shift + . Toggle block fold
7474
Alt Show menu
75+
```
7576

7677
You can see all the default key bindings in Heynote's settings under Key Bindings.
7778

78-
```
7979

8080
## Custom Key Bindings
8181

vite.config.mjs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const isDevelopment = process.env.NODE_ENV === "development" || !!process.env.VS
1818
const isProduction = process.env.NODE_ENV === "production"
1919

2020
const injectKeybindsInDocs = async () => {
21-
const keybindsRegex = /^(<!-- keyboard_shortcuts -->\s*).*?^(```\s+#)/gms
21+
const keybindsRegex = /^(<!-- keyboard_shortcuts -->\s*).*?^(\s+#)/gms
2222
const shortcuts = `$1**On Mac**
2323
2424
\`\`\`
@@ -29,6 +29,7 @@ ${keyHelpStr('darwin', true)}
2929
3030
\`\`\`
3131
${keyHelpStr('win32', true)}
32+
\`\`\`
3233
3334
You can see all the default key bindings in Heynote's settings under Key Bindings.
3435

0 commit comments

Comments
 (0)