commajs
Horizontal Rule
Introduction
This plugin adds a horizontal line to a document.
Installation
npm install commajs-horizontal-rule
In commajs-core options add:
import CommaHorizontalRule from "commajs-horizontal-rule";

options = {
    ...,                
    plugins: [
        ...,
        { pClass: CommaHorizontalRule }
    ]
}
Styling
The horizontal rule is styled using the horizontalRule style.
Usage
To add a horizontal rule to a document:
commajsInstance.InsertPluginAtSection(CommaHorizontalRule.GetName());
 
© 2020 Plugg, Inc. All rights reserved. Various trademarks held by their respective owners.
Plugg, Inc. - San Francisco, CA 94114, United States