View as Markdown

API reference

@salmonui/editors/markdown-editor

27 exported symbols: 5 functions, 11 interfaces, 6 types and 5 constants. Each name links its page with the signature, docs and members.

import { … } from '@salmonui/editors/markdown-editor';

Functions

  • MarkdownEditor
  • applyMarkdownCommandRuns a text command; returns the new state.
  • continueMarkdownListEnter inside a list item: continues the marker on a new line (the next number for ordered lists, an unchecked box for task lists); on an empty item it removes…
  • shortcutCommandThe command of a Mod shortcut, or null. Undo / redo stay native.
  • tableMarkdownA GFM table of rows body rows and cols columns, with header cells header(i).

Interfaces

Types

Constants