medium-editor-autohr
v0.3.0
Published
An extension for medium editor which auto adds horizontal rules
Readme
medium-editor-autohr
An extension for Medium Editor which auto adds horizontal rules.

How to install
$ npm install --save medium-editor-autohrUse the extension
const AutoHR = require('medium-editor-autohr');
var editor = new MediumEditor('.editable', {
extensions: {
'autohr': new AutoHR()
}
});Now, type --- followed by ENTER: an <hr> element will appear!
License
Copyright (c) 2017 Emanuele Bertoldi
