pasteInCodeblock function
ctrl + v to paste text in code block.
- support
- desktop
- web
Implementation
CommandShortcutEvent pasteInCodeblock(
String description,
) =>
CommandShortcutEvent(
key: 'paste in codeblock',
command: 'ctrl+v',
macOSCommand: 'cmd+v',
getDescription: () => description,
handler: _pasteInCodeBlock,
);