Skip to content

Commit 27bfb1b

Browse files
committed
style(reame): updated readme
1 parent aed68ee commit 27bfb1b

2 files changed

Lines changed: 11 additions & 4 deletions

File tree

README.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,20 @@
2626
* **[Full Documentation](http://riteshkr.com/embed.js/doc.html)**
2727
* **[Examples](http://riteshkr.com/embed.js/examples.html)**
2828

29-
29+
## Installation
30+
31+
To install the stable version:
32+
```
33+
npm install --save embed-js
34+
```
35+
36+
37+
3038
## CDN
3139

3240
* [jsDelivr](https://www.jsdelivr.com/projects/embed.js)
3341

42+
3443
## Simple Usage
3544

3645
Let's assume that the HTML structure is as written below

demo/index.html

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ <h1>Loading embed.js in a block</h1>
7070
videoJS: true,
7171
videoWidth: 720,
7272
videoDetails: true,
73-
excludeEmbed: ['spotify'],
73+
excludeEmbed: ['github'],
7474
// openGraphEndpoint:'https://opengraph.io/api/1.0/site/${url}',
7575
openGraphExclude: ['github'],
7676
googleAuthKey: 'AIzaSyCqFouT8h5DKAbxlrTZmjXEmNBjC69f0ts',
@@ -79,8 +79,6 @@ <h1>Loading embed.js in a block</h1>
7979
highlightCode:true,
8080
codeHighlighter:'prismjs',
8181
link: true,
82-
fontIcons:false,
83-
emoji:false,
8482
// singleEmbed:true,
8583
onOpenGraphFetch: function(data) {
8684
data.hybridGraph.success = data.error ? false : true;

0 commit comments

Comments
 (0)