supports method

bool supports(
  1. MarkdownEditorCommand command
)

Whether command is available to the editor.

Implementation

bool supports(MarkdownEditorCommand command) {
  return !disabledCommands.contains(command);
}