chore: add shortcut of code block

This commit is contained in:
x1a0t
2022-12-16 19:37:56 +08:00
parent 844a06b09f
commit 570c3387fd
@@ -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',