feat: more editor shortcuts (#338)
This commit is contained in:
@@ -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```" })
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user