Skip to content

Commit 6844bda

Browse files
committed
Update README.md
1 parent 51ea06c commit 6844bda

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# share-buttons [![version](http://img.shields.io/badge/release-v1.0.0-brightgreen.svg?style=flat)](https://github.com/wcoder/share-buttons/archive/master.zip)
1+
# share-buttons [![version](http://img.shields.io/badge/release-v1.0.0-brightgreen.svg?style=flat)](https://github.com/wcoder/share-buttons/archive/master.zip) [![license](http://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat)](https://github.com/wcoder/share-buttons/blob/master/LICENSE)
22

33
Simple social buttons for your site.
44

@@ -10,11 +10,11 @@ Simple social buttons for your site.
1010

1111
## Install
1212
Include `share-buttons.js` in the end of page:
13-
```
13+
``` html
1414
<script src="../dist/share-buttons.js"></script>
1515
```
1616
Paste this html on the page:
17-
```
17+
``` html
1818
<div class="share-btn">
1919
<a class="btn-vk" data-id="vk">VK</a>
2020
<a class="btn-facebook" data-id="fb">Facebook</a>
@@ -23,7 +23,7 @@ Paste this html on the page:
2323
</div>
2424
```
2525
Added styles:
26-
```
26+
``` css
2727
.share-btn > a {
2828
border: 1px solid #ccc;
2929
padding: 5px;
@@ -38,7 +38,7 @@ Profit!!
3838

3939
## Customization
4040
Custom 'url', 'title', 'description':
41-
```
41+
``` html
4242
<div class="share-btn" data-url="https://..." data-title="..." data-desc="...">
4343
<a class="btn-vk" data-id="vk">VK</a>
4444
<a class="btn-facebook" data-id="fb">Facebook</a>
@@ -50,4 +50,4 @@ Styles - full customization.
5050

5151
----
5252

53-
&copy; 2015 - Yauheni Pakala [![license](http://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat)](https://github.com/wcoder/share-buttons/blob/master/LICENSE)
53+
&copy; 2015 - Yauheni Pakala

0 commit comments

Comments
 (0)