1.0.0 • Published 7 years ago

async-github-gist v1.0.0

Weekly downloads
2
License
BSD-3-Clause
Repository
github
Last release
7 years ago

This library allows you to load Github gists asynchronously.

  1. Add script tag with async-github-gist
  2. 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>
....