diff --git a/packages/app/src/components/shortcuts-modal/config.ts b/packages/app/src/components/shortcuts-modal/config.ts index 5638268a99..f41383194d 100644 --- a/packages/app/src/components/shortcuts-modal/config.ts +++ b/packages/app/src/components/shortcuts-modal/config.ts @@ -6,6 +6,7 @@ export const macKeyboardShortcuts = { Underline: '⌘+U', Strikethrough: '⌘+⇧+S', 'Inline code': ' ⌘+E', + 'Code block': '⌘+⌥+C', Link: '⌘+K', 'Body text': '⌘+⌥+0', 'Heading 1': '⌘+⌥+1', @@ -24,6 +25,7 @@ export const macMarkdownShortcuts = { Underline: '~Text~ ', Strikethrough: '~~Text~~ ', 'Inline code': '`Text` ', + 'Code block': '``` Text', 'Heading 1': '# Text', 'Heading 2': '## Text', 'Heading 3': '### Text', @@ -40,6 +42,7 @@ export const windowsKeyboardShortcuts = { Underline: 'Ctrl+U', Strikethrough: 'Ctrl+Shift+S', 'Inline code': ' Ctrl+E', + 'Code block': 'Ctrl+Alt+C', Link: 'Ctrl+K', 'Body text': 'Ctrl+Shift+0', 'Heading 1': 'Ctrl+Shift+1', @@ -57,6 +60,7 @@ export const winMarkdownShortcuts = { Underline: '~Text~ ', Strikethrough: '~~Text~~ ', 'Inline code': '`Text` ', + 'Code block': '``` Text', 'Heading 1': '# Text', 'Heading 2': '## Text', 'Heading 3': '### Text',