API reference: @salmonui/editors/markdown-editor
applyMarkdownCommandfunction
import { applyMarkdownCommand } from '@salmonui/editors/markdown-editor';function applyCommand(id: MarkdownTextCommand, state: TextState, syntax?: MarkdownSyntax, locale?: string | readonly string[]): TextState;
Runs a text command; returns the new state.