Update config.ts

This commit is contained in:
CJSS 2022-10-24 16:54:49 +08:00 committed by GitHub
parent 839285485a
commit 541b895d15
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,66 +1,67 @@
export const macKeyboardShortcuts = {
Undo: '⌘ + Z',
Redo: '⌘ + ⇧ + Z',
Bold: '⌘ + B',
Italic: '⌘ + I',
Underline: '⌘ + U',
Strikethrough: '⌘ + ⇧ + S',
'Inline code': ' ⌘ + E',
Link: '⌘ + K',
'Body text': '⌘ + ⌥ + 0',
'Heading 1': '⌘ + ⌥ + 1',
'Heading 2': '⌘ + ⌥ + 2',
'Heading 3': '⌘ + ⌥ + 3',
'Heading 4': '⌘ + ⌥ + 4',
'Heading 5': '⌘ + ⌥ + 5',
'Heading 6': '⌘ + ⌥ + 6',
'Increase indent': 'Tab',
'Reduce indent': '⇧ + Tab',
};
export const macMarkdownShortcuts = {
Bold: '**Text** ',
Italic: '*Text* ',
Underline: '~Text~ ',
Strikethrough: '~~Text~~ ',
'Inline code': '`Code` ',
'Heading 1': '# ',
'Heading 2': '## ',
'Heading 3': '### ',
'Heading 4': '#### ',
'Heading 5': '##### ',
'Heading 6': '###### ',
};
export const windowsKeyboardShortcuts = {
Undo: 'Ctrl + Z',
Redo: 'Ctrl + Y',
Bold: 'Ctrl + B',
Italic: 'Ctrl + I',
Underline: 'Ctrl + U',
Strikethrough: 'Ctrl + Shift + S',
'Inline code': ' Ctrl + E',
Link: 'Ctrl + K',
'Body text': 'Ctrl + Shift + 0',
'Heading 1': 'Ctrl + Shift + 1',
'Heading 2': 'Ctrl + Shift + 2',
'Heading 3': 'Ctrl + Shift + 3',
'Heading 4': 'Ctrl + Shift + 4',
'Heading 5': 'Ctrl + Shift + 5',
'Heading 6': 'Ctrl + Shift + 6',
'Increase indent': 'Tab',
'Reduce indent': 'Shift + Tab',
};
export const winMarkdownShortcuts = {
Bold: '**Text** ',
Italic: '*Text* ',
Underline: '~Text~ ',
Strikethrough: '~~Text~~ ',
'Inline code': '`Code` ',
'Heading 1': '# ',
'Heading 2': '## ',
'Heading 3': '### ',
'Heading 4': '#### ',
'Heading 5': '##### ',
'Heading 6': '###### ',
};
Undo: '⌘+Z',
Redo: '⌘+⇧+Z',
Bold: '⌘+B',
Italic: '⌘+I',
Underline: '⌘+U',
Strikethrough: '⌘+⇧+S',
'Inline code': ' ⌘+E',
Link: '⌘+K',
'Body text': '⌘+⌥+0',
'Heading 1': '⌘+⌥+1',
'Heading 2': '⌘+⌥+2',
'Heading 3': '⌘+⌥+3',
'Heading 4': '⌘+⌥+4',
'Heading 5': '⌘+⌥+5',
'Heading 6': '⌘+⌥+6',
'Increase indent': 'Tab',
'Reduce indent': '⇧+Tab',
};
export const macMarkdownShortcuts = {
Bold: '**Text** ',
Italic: '*Text* ',
Underline: '~Text~ ',
Strikethrough: '~~Text~~ ',
'Inline code': '`Text` ',
'Heading 1': '# Text',
'Heading 2': '## Text',
'Heading 3': '### Text',
'Heading 4': '#### Text',
'Heading 5': '##### Text',
'Heading 6': '###### Text',
};
export const windowsKeyboardShortcuts = {
Undo: 'Ctrl+Z',
Redo: 'Ctrl+Y',
Bold: 'Ctrl+B',
Italic: 'Ctrl+I',
Underline: 'Ctrl+U',
Strikethrough: 'Ctrl+Shift+S',
'Inline code': ' Ctrl+E',
Link: 'Ctrl+K',
'Body text': 'Ctrl+Shift+0',
'Heading 1': 'Ctrl+Shift+1',
'Heading 2': 'Ctrl+Shift+2',
'Heading 3': 'Ctrl+Shift+3',
'Heading 4': 'Ctrl+Shift+4',
'Heading 5': 'Ctrl+Shift+5',
'Heading 6': 'Ctrl+Shift+6',
'Increase indent': 'Tab',
'Reduce indent': 'Shift+Tab',
};
export const winMarkdownShortcuts = {
Bold: '**Text** ',
Italic: '*Text* ',
Underline: '~Text~ ',
Strikethrough: '~~Text~~ ',
'Inline code': '`Text` ',
'Heading 1': '# Text',
'Heading 2': '## Text',
'Heading 3': '### Text',
'Heading 4': '#### Text',
'Heading 5': '##### Text',
'Heading 6': '###### Text',
};