Skip to content

Commit d1324c4

Browse files
authored
Merge pull request 720kb#250 from lovasoa/patch-1
Fix markdown headings in the README
2 parents 7849b97 + 898a1ca commit d1324c4

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

README.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ Angular datepicker is an angularjs directive that generates a datepicker calenda
99

1010
The Angularjs Datepicker is developed by [720kb](http://720kb.net).
1111

12-
##Requirements
12+
## Requirements
1313

1414
AngularJS v1.3+
1515

16-
###Browser support
16+
### Browser support
1717

1818
Chrome | Firefox | IE | Opera | Safari
1919
--- | --- | --- | --- | --- |
@@ -37,22 +37,22 @@ To use the directive, include the Angular Datepicker's javascript and css files
3737
</html>
3838
```
3939

40-
##Installation
40+
## Installation
4141

42-
####Bower
42+
#### Bower
4343

4444
```
4545
$ bower install angularjs-datepicker --save
4646
```
47-
####Npm
47+
#### Npm
4848

4949
```
5050
$ npm install angularjs-datepicker --save
5151
```
5252

5353
_then load the js files in your html_
5454

55-
###Add module dependency
55+
### Add module dependency
5656

5757
Add the 720kb.datepicker module dependency
5858

@@ -72,7 +72,7 @@ Call the directive wherever you want in your html page
7272
> By default the ng-model will show a Javascript Date() Object inside your input, you can use the options below to set your preferred date format to.
7373
7474

75-
##DOC
75+
## DOC
7676

7777
Option | Type | Default | Description
7878
------------- | ------------- | ------------- | -------------
@@ -96,10 +96,10 @@ datepicker-show="" | String | false | Trigger the datepicker visibility, if true
9696
| | | **tip:** _You may use this option together with datepicker-toggle="false" for a stable behavior_
9797
datepicker-mobile="" | String | true | Set to `false` to force override of mobile styles. Especially useful for using desktop-style pagination control in mobile apps.
9898

99-
##Options
99+
## Options
100100
Angular datepicker allows you to use some options via `attribute` data
101101

102-
####Custom titles
102+
#### Custom titles
103103

104104
You can set the titles for the month and year selectors with the **date-year-title=""** and **date-month-title=""** data attributes (default to is _"select month"_ and _"select year"_)
105105

@@ -113,7 +113,7 @@ You can set the titles for the month and year selectors with the **date-year-tit
113113
</datepicker>
114114
```
115115

116-
####Highlight today day in calendar
116+
#### Highlight today day in calendar
117117
To highlight or style the today day in the calendar just use its own CSS class (`._720kb-datepicker-today`) like this:
118118

119119
```css
@@ -123,7 +123,7 @@ To highlight or style the today day in the calendar just use its own CSS class (
123123
}
124124
```
125125

126-
####Custom buttons
126+
#### Custom buttons
127127
You can customize the calendar navigation buttons content, let's make an example while using [FontAwesome](http://fontawesome.io)
128128

129129
```html
@@ -132,7 +132,7 @@ You can customize the calendar navigation buttons content, let's make an example
132132
</datepicker>
133133
```
134134

135-
####Custom buttons titles for arrows
135+
#### Custom buttons titles for arrows
136136
You can also set the titles for the left and right arrows with **button-next-title=""** for the right and **button-prev-title=""** for the left. By default they are labeled _"next"_ and _"prev"_.
137137

138138
```html
@@ -145,7 +145,7 @@ You can also set the titles for the left and right arrows with **button-next-tit
145145
</datepicker>
146146
```
147147

148-
####Input as grandchild
148+
#### Input as grandchild
149149
Sometimes you cannot put date input as a first child of datepicker. In this case you may use `selector=""` to point to the CSS class of the input. Below example with using Twitter Bootstrap and FontAwesome
150150

151151
```html
@@ -158,7 +158,7 @@ Sometimes you cannot put date input as a first child of datepicker. In this case
158158
</div>
159159
</datepicker>
160160
```
161-
####Manually show and hide datepicker
161+
#### Manually show and hide datepicker
162162
Sometimes you want to (manually/programmatically) show or hide the datepicker, this can be achieved using `datepicker-show` attribute, if `false`, datepicker is hidden, if `true`, datepicker is shown
163163

164164
```javascript
@@ -191,9 +191,9 @@ Sometimes you cannot put date input as a first child of datepicker. In this case
191191
</div>
192192
</datepicker>
193193
```
194-
###Tips
194+
### Tips
195195

196-
####Date validation
196+
#### Date validation
197197
If you want to validate the input, while user is typing for example, you just have to refer to the `ngModel`.
198198
As long as you use something like:
199199
```html

0 commit comments

Comments
 (0)