@remirror/extension-list
v3.0.1
Published
The list extensions.
Downloads
152,942
Readme
@remirror/extension-list
The list preset and accompanying extensions.
Installation
# yarn
yarn add @remirror/extension-list
# pnpm
pnpm add @remirror/extension-list
# npm
npm install @remirror/extension-list
This is included by default when you install the recommended remirror
package. All exports are also available via the entry-point, remirror
.
Usage
The following creates an editor which supports both ordered and bullet lists.
import { BulletListExtension, createCoreManager, OrderedListExtension } from 'remirror/extensions';
const manager = createCoreManager(() => [new BulletListExtension(), new OrderedListExtension()]);