@remirror/extension-horizontal-rule
v3.0.1
Published
Allow your users to divide their content with horizontal lines. Nice!
Downloads
147,222
Readme
@remirror/extension-horizontal-rule
Allow your users to divide their content with horizontal lines. Nice!
Installation
# yarn
yarn add @remirror/extension-horizontal-rule
# pnpm
pnpm add @remirror/extension-horizontal-rule
# npm
npm install @remirror/extension-horizontal-rule
This is included by default when you install the recommended remirror
package. All exports are also available via the entry-point, remirror/extensions
.
Usage
The following code creates an instance of this extension.
import { HorizontalRuleExtension } from 'remirror/extensions';
const extension = new HorizontalRuleExtension();