diff --git a/README.md b/README.md index 00d84e9..6b33467 100644 --- a/README.md +++ b/README.md @@ -8,16 +8,8 @@ It needs [ckeditor standard version](http://download.cksource.com/CKEditor/CKEdi You can see the [DEMO](http://hectorguo.github.io/CKEditor-Markdown-Plugin/) ## Usage -### Using Bower -``` -bower install ckeditor-markdown-plugin -``` -Then move `markdown` folder to `ckeditor/plugins` path; - -### Manually Install -Download the source, and uncompress `markdown` folder into `ckeditor/plugins` path; - -Edit `config.js` (such as `ckeditor/config.js`): +1. Download the source, and uncompress `markdown` folder into `ckeditor/plugins` path; +2. Edit `config.js` (such as `ckeditor/config.js`): ```javascript config.extraPlugins = 'markdown'; // add this plugin ``` @@ -61,6 +53,11 @@ CKEDITOR.editorConfig = function( config ) { }; ``` +You can also use bower to install it. +``` +bower install ckeditor-markdown-plugin +``` + ## Thanks - [marked](https://github.com/chjj/marked) - [to-markdown](http://domchristie.github.io/to-markdown)