Skip to content

Commit bad1089

Browse files
added bower support
1 parent be1697e commit bad1089

File tree

2 files changed

+36
-2
lines changed

2 files changed

+36
-2
lines changed

README.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,26 @@ A drop-in JavaScript textarea replacement for writing beautiful and understandab
99
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.
1010

1111
## Quick start
12+
13+
### NPM
1214
SimpleMDE is available on [npm](https://www.npmjs.com/package/simplemde).
1315
```
1416
npm install simplemde --save
1517
```
16-
18+
### jsDelivery
1719
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.*
1820

1921
```HTML
2022
<link rel="stylesheet" href="//cdn.jsdelivr.net/simplemde/latest/simplemde.min.css">
2123
<script src="//cdn.jsdelivr.net/simplemde/latest/simplemde.min.js"></script>
2224
```
2325

26+
### Bower
27+
SimpleMDE is also available via [Bower](http://bower.io/).
28+
```console
29+
bower install simplemde-markdown-editor
30+
```
31+
2432
And then load SimpleMDE on the first textarea on a page
2533

2634
```HTML
@@ -110,7 +118,7 @@ var simplemde = new SimpleMDE({
110118
setTimeout(function(){
111119
preview.innerHTML = customMarkdownParser(plainText);
112120
}, 250);
113-
121+
114122
return "Loading...";
115123
}
116124
renderingConfig: {

bower.json

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"name": "simplemde-markdown-editor",
3+
"version": "1.7.4",
4+
"homepage": "https://github.com/NextStepWebs/simplemde-markdown-editor",
5+
"authors": [
6+
"Wes Cossik <support@nextstepwebs.com>"
7+
],
8+
"description": "A simple, beautiful, and embeddable JavaScript markdown editor.",
9+
"main": ["js/simplemd.js", "css/simplemd.css"],
10+
"moduleType": [
11+
"globals"
12+
],
13+
"keywords": [
14+
"wysiwyg",
15+
"markdown",
16+
"js"
17+
],
18+
"license": "MIT",
19+
"ignore": [
20+
"**/.*",
21+
"node_modules",
22+
"bower_components",
23+
"test",
24+
"tests"
25+
]
26+
}

0 commit comments

Comments
 (0)