0.3.0 • Published 8 years ago

medium-editor-autohr v0.3.0

Weekly downloads
25
License
MIT
Repository
github
Last release
8 years ago

medium-editor-autohr

npm version

An extension for Medium Editor which auto adds horizontal rules.

Demo

How to install

$ npm install --save medium-editor-autohr

Use 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

MIT License

0.3.0

8 years ago

0.2.0

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago

0.0.1

8 years ago