0.3.0 • Published 9 years ago
medium-editor-autohr v0.3.0
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