Skip to main content

Horizontal Rule

Use this plugin to render a <hr> HTML tag.

Type three dashes (---) or three underscores and a space (___ ) at the beginning of a new line and it will magically transform to a horizontal rule.

Installation#

npm install @udecode/plate-horizontal-rule
npm install @udecode/plate-ui-horizontal-rule
npm install @udecode/plate-autoformat

Usage#

Live Editor
Result

Source Code#