1.0.0 • Published 7 years ago
async-github-gist v1.0.0
This library allows you to load Github gists asynchronously.
- Add script tag with async-github-gist
- Create element, for example div with data-github-gist attribute, that contains the owner name and gist id
...
<body>
<!--https://gist.github.com/Machy8/77c51d9c7dfaf4a1ad9ec83ca8d94a73.js-->
<div data-github-gist="Machy8/77c51d9c7dfaf4a1ad9ec83ca8d94a73"></div>
<script src="async-github-gist.min.js"></script>
</body>
....
1.0.0
7 years ago