Skip to content

Commit 587a8fb

Browse files
committed
typo
1 parent 20f94f5 commit 587a8fb

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

readme.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@ I have put together a few libraries and tools to make a convenient all in one WY
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

99
## How to use it?
10-
#### Creation
10+
### Creation
1111
Simply create a `<textarea>` with an `ngModel` and a call to the Directive.
1212
At the end, all you need is:
1313
```
1414
<textarea markdown-editor="" rows="10" ng-model="markdown"></textarea>
1515
```
1616

17-
#### Extra options
17+
### Extra options
1818
You can also pass any options from the [Bootstrap-Markdown](http://www.codingdrama.com/bootstrap-markdown/) by passing these options as an object to the directive.
1919
Like this: `<textarea markdown-editor="{'iconlibrary': 'fa'}"...`
2020

@@ -23,7 +23,7 @@ or multiple options
2323
<textarea markdown-editor="{'iconlibrary': 'fa', addExtraButtons: true}"...
2424
```
2525

26-
#### Additional extra buttons
26+
### Additional extra buttons
2727
I really thought that some buttons were missing to go a great job (Strikethrough &amp; Table). So I added them to the directive, though they are not enabled by default, you need to enable them manually if you want them or not.
2828
Like this:
2929
```
@@ -41,10 +41,10 @@ Like this:
4141
* jQuery _(required for Bootstrap-Markdown editor)_
4242

4343
## Demo
44-
#### Live demo
44+
### Live demo
4545
[Plunker demo](http://plnkr.co/AFxN7uiwkZlJ9OMZwXey)
4646

47-
#### Code example
47+
### Code example
4848
You can take a look at the demo under the folder [example](https://github.com/ghiscoding/angular-markdown-editor/example).
4949

5050
## Preview

0 commit comments

Comments
 (0)