Skip to content

Commit b46b9c9

Browse files
committed
typo
1 parent 3da9651 commit b46b9c9

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

readme.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,16 @@ I have put together a few libraries and tools to make a convenient "all in one"
66

77
[Marked.js](https://github.com/chjj/marked) is awesome for markdown preview and [Highlight.js](https://highlightjs.org/) is a must for easy code viewing with colors highlighting. The [Bootstrap-Markdown](http://www.codingdrama.com/bootstrap-markdown/) is a really great and simplified WYSIWYG editor which was simply missing integration with AngularJS and so I created a Directive to handle that. For all of these great tools, we will use their AngularJS version for easier integration (for example `Marked.js` and `Angular-Marked`)
88

9+
## Demo
10+
[Live Plunker demo](http://plnkr.co/AFxN7uiwkZlJ9OMZwXey) or take a look at the demo under the folder [example](https://github.com/ghiscoding/angular-markdown-editor/example).
11+
912
## How to use it?
1013
### Installation
11-
##### NPM
14+
##### [NPM](https://www.npmjs.com/package/angular-markdown-editor)
1215
```bash
1316
npm install angular-markdown-editor
1417
```
15-
##### NuGet
18+
##### [NuGet](https://www.nuget.org/packages/Angular-Markdown-Editor/)
1619
_Some of the dependencies were added by hand to this package (because they don't all exist on NuGet). For those, you could get latest version and install them yourself as well._
1720
```bash
1821
PM> Install-Package Angular-Markdown-Editor
@@ -22,10 +25,10 @@ PM> Install-Package Angular-Markdown-Editor
2225
Simply create a `<textarea>` with an `ngModel` and a call to the Directive.
2326
At the end, all you need is:
2427
```
25-
<textarea markdown-editor="" rows="10" ng-model="markdown"></textarea>
28+
<textarea ng-model="markdown" markdown-editor="" rows="10"></textarea>
2629
```
2730

28-
### Extra options (Bootstrap-Markdown)
31+
### Editor Extra options
2932
You can use any of the [Bootstrap-Markdown Options](http://www.codingdrama.com/bootstrap-markdown/) by passing them as an object to the `markdown-editor` directive attribute.
3033
Like this: `<textarea markdown-editor="{'iconlibrary': 'fa'}"...`
3134

@@ -35,7 +38,7 @@ or multiple options
3538
```
3639

3740
### Editor extra buttons
38-
I really thought that some buttons were missing to go a great job (Strikethrough &amp; Table). So I added them to the directive, they are not enabled by default, so you will need to enable them manually if you do want to use them.
41+
I really thought that some buttons were missing to go a great job (**Strikethrough** &amp; **Table**). So I added them to the directive, they are not enabled by default, so you will need to enable them manually if you do want to use them.
3942
Like this:
4043
```
4144
<textarea markdown-editor="{addExtraButtons: true, 'iconlibrary': 'fa'}"...
@@ -51,8 +54,5 @@ Like this:
5154
* [angular-highlight](https://github.com/pc035860/angular-highlightjs)
5255
* [jQuery](http://jquery.com/) _(required for Bootstrap-Markdown editor)_
5356

54-
## Demo
55-
[Live Plunker demo](http://plnkr.co/AFxN7uiwkZlJ9OMZwXey) or take a look at the demo under the folder [example](https://github.com/ghiscoding/angular-markdown-editor/example).
56-
5757
## Preview
5858
![Login Page](/images/scrshot_preview.png)

0 commit comments

Comments
 (0)