The regex to match.
OptionalgetAttributes?: A function that returns the attributes for the node can also be an object of attributes
The node type to add.
Optionalundoable?: booleanWhether the input rule should be undoable when the user presses backspace.
Build an input rule that adds a node when the matched text is typed into it.