An open API service indexing awesome lists of open source software.

https://github.com/zuck/medium-editor-autoanglequotes

An extension for medium editor which auto adds angle quotation marks
https://github.com/zuck/medium-editor-autoanglequotes

Last synced: 16 days ago
JSON representation

An extension for medium editor which auto adds angle quotation marks

Awesome Lists containing this project

README

          

# medium-editor-autoanglequotes

[![npm version](https://badge.fury.io/js/medium-editor-autoanglequotes.svg)](https://www.npmjs.com/package/medium-editor-autoanglequotes)

> An extension for [Medium Editor](https://github.com/yabwe/medium-editor) which auto adds angle quotation marks.

![Demo](https://rawgit.com/zuck/medium-editor-autoanglequotes/master/art/screenshot.gif)

## How to install

```bash
$ npm install --save medium-editor-autoanglequotes
```

## Use the extension

```js
const AutoAngularQuotes = require('medium-editor-autoanglequotes');

var editor = new MediumEditor('.editable', {
extensions: {
'autoanglequotes': new AutoAngularQuotes()
}
});
```

Now, type `<<` or `>>` followed by something else: `«` or `»` will appear!

## License

Copyright (c) 2017 Emanuele Bertoldi

[MIT License](http://en.wikipedia.org/wiki/MIT_License)