OptionaldecorateOptionalextensionsExtra extensions appended to the returned array. Callers must memoize this array — it is used as a dependency of useMemo.
OptionalplaceholderPlaceholder text shown when the editor is empty.
OptionalreadonlyRenders the editor read-only (selectable but not editable). Defaults to false.
Enables markdown visual decorations. Pass
falseto disable. Defaults totrue.