pasteInCodeblock function

CommandShortcutEvent pasteInCodeblock(
  1. String description
)

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,
    );