diff --git a/docs/index.md b/docs/index.md index ccb85ae..ff4b303 100644 --- a/docs/index.md +++ b/docs/index.md @@ -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 diff --git a/vite.config.mjs b/vite.config.mjs index 789f85d..b39a9d5 100644 --- a/vite.config.mjs +++ b/vite.config.mjs @@ -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 = /^(\s*).*?^(```\s+#)/gms + const keybindsRegex = /^(\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.