Overview of Remirror Extensions
Extensions in Remirror encapsulate functionality such as keyboard shortcuts, input rules (markdown shortcuts), HTML parsing, and commands. They allow developers to group concerns related to editor display (e.g., bold, italic), command availability, and the registration of ProseMirror plugins, keymaps, and custom nodeViews.
There are three primary types of extensions:
NodeExtension: Used for creating ProseMirror nodes.MarkExtension: Used for creating ProseMirror marks.PlainExtension: Used for behavior that does not require a DOM representation.