Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

wrappingListInputRule

Build an input rule for automatically wrapping a textblock into a list node when a given string is typed.

function wrappingListInputRule<T extends ListAttributes = ListAttributes>(regexp: RegExp, getAttrs: T | ListInputRuleAttributesGetter<T>): InputRule;
§
wrappingListInputRule<T extends ListAttributes = ListAttributes>(regexp: RegExp, getAttrs: T | ListInputRuleAttributesGetter<T>): InputRule
[src]

§Type Parameters

§Parameters

§
regexp: RegExp
[src]