API reference: @salmonui/editors/markdown-editor
MarkdownTextCommandtype
import type { MarkdownTextCommand } from '@salmonui/editors/markdown-editor';type MarkdownTextCommand = 'bold' | 'italic' | 'strikethrough' | 'superscript' | 'subscript' | 'uppercase' | 'lowercase' | 'paragraph' | 'heading1' | 'heading2' | 'heading3' | 'heading4' | 'heading5' | 'heading6' | 'blockquote' | 'code' | 'codeBlock' | 'orderedList' | 'unorderedList';
Text commands applyCommand runs (the toolbar adds dialogs, history, preview and fullscreen).