feat: more editor shortcuts (#338)

This commit is contained in:
Xuezhou Dai
2023-04-14 21:41:50 +01:00
committed by GitHub
parent eaaaa193fd
commit 68cee2aaef
20 changed files with 192 additions and 23 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ export const CodeBlock: ICommand = {
name: "codeblock",
label: "Code Block",
icon: "i-mingcute:web-line",
execute: (view) => {
execute: ({ view }) => {
wrapExecute({ view, prepend: "```\n", append: "\n```" })
},
}