diff --git a/README.md b/README.md index 64ee943..8edd77c 100644 --- a/README.md +++ b/README.md @@ -9,11 +9,13 @@ A drop-in JavaScript textarea replacement for writing beautiful and understandab WYSIWYG editors that produce HTML are often complex and buggy. Markdown solves this problem in many ways, plus Markdown can be rendered natively on more platforms than HTML. However, Markdown is not a syntax that an average user will be familiar with, nor is it visually clear while editing. In otherwords, for an unfamiliar user, the syntax they write will make little sense until they click the preview button. SimpleMDE has been designed to bridge this gap for non-technical users who are less familiar with or just learning Markdown syntax. ## Quick start + +### NPM SimpleMDE is available on [npm](https://www.npmjs.com/package/simplemde). ``` npm install simplemde --save ``` - +### jsDelivery SimpleMDE is also available on [jsDelivr](http://www.jsdelivr.com/#!simplemde). *Please note, jsDelivr may take a few days to update to the latest release.* ```HTML @@ -21,6 +23,12 @@ SimpleMDE is also available on [jsDelivr](http://www.jsdelivr.com/#!simplemde). ``` +### Bower +SimpleMDE is also available via [Bower](http://bower.io/). +```console +bower install simplemde-markdown-editor +``` + And then load SimpleMDE on the first textarea on a page ```HTML @@ -110,7 +118,7 @@ var simplemde = new SimpleMDE({ setTimeout(function(){ preview.innerHTML = customMarkdownParser(plainText); }, 250); - + return "Loading..."; } renderingConfig: { diff --git a/bower.json b/bower.json new file mode 100644 index 0000000..5ee17e7 --- /dev/null +++ b/bower.json @@ -0,0 +1,26 @@ +{ + "name": "simplemde-markdown-editor", + "version": "1.7.4", + "homepage": "https://github.com/NextStepWebs/simplemde-markdown-editor", + "authors": [ + "Wes Cossik " + ], + "description": "A simple, beautiful, and embeddable JavaScript markdown editor.", + "main": ["js/simplemd.js", "css/simplemd.css"], + "moduleType": [ + "globals" + ], + "keywords": [ + "wysiwyg", + "markdown", + "js" + ], + "license": "MIT", + "ignore": [ + "**/.*", + "node_modules", + "bower_components", + "test", + "tests" + ] +}