added bower support

pull/134/head
Fabian Köstring 9 years ago
parent be1697e170
commit bad108966d

@ -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).
<script src="//cdn.jsdelivr.net/simplemde/latest/simplemde.min.js"></script>
```
### 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: {

@ -0,0 +1,26 @@
{
"name": "simplemde-markdown-editor",
"version": "1.7.4",
"homepage": "https://github.com/NextStepWebs/simplemde-markdown-editor",
"authors": [
"Wes Cossik <support@nextstepwebs.com>"
],
"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"
]
}
Loading…
Cancel
Save