22 lines
583 B
Markdown
22 lines
583 B
Markdown
# GitHub-Widget
|
|
|
|
## How to use this widget
|
|
|
|
Just get the `dist/widget.js` file, and link it into your HTML page.
|
|
Then, create a `div`, and replace the `data-username` with your GitHub username, as below :
|
|
|
|
```html
|
|
<div class="github-widget" data-username="HorlogeSkynet"></div>
|
|
|
|
<!-- ... -->
|
|
|
|
<script type="text/javascript" src=".../assets/github-widget/dist/widget.js"></script>
|
|
```
|
|
|
|
## Using multiple widgets in the same page... It's possible !
|
|
|
|
```html
|
|
<div class="github-widget" data-username="github"></div>
|
|
<div class="github-widget" data-username="HorlogeSkynet"></div>
|
|
```
|