Skip to content

BlockSuite API Documentation / @blocksuite/blocks / InlineMarkdownMatchAction

Type Alias: InlineMarkdownMatchAction()<AffineTextAttributes>

InlineMarkdownMatchAction<AffineTextAttributes>: (props) => ReturnType<KeyboardBindingHandler>

Type Parameters

AffineTextAttributes extends BaseTextAttributes = BaseTextAttributes

Parameters

props

inlineEditor

InlineEditor<AffineTextAttributes>

inlineRange

InlineRange

pattern

RegExp

prefixText

string

undoManager

Y.UndoManager

Returns

ReturnType<KeyboardBindingHandler>

Defined in

packages/affine/components/dist/rich-text/extension/type.d.ts:11