https://github.com/moebiusmania/gist-embed
Web component for easily embed a GitHub Gist in your webpages.
https://github.com/moebiusmania/gist-embed
component custom-element embed gist web webcomponents
Last synced: 2 months ago
JSON representation
Web component for easily embed a GitHub Gist in your webpages.
- Host: GitHub
- URL: https://github.com/moebiusmania/gist-embed
- Owner: moebiusmania
- License: mit
- Created: 2017-08-25T21:03:53.000Z (almost 8 years ago)
- Default Branch: main
- Last Pushed: 2023-01-04T16:01:47.000Z (over 2 years ago)
- Last Synced: 2025-01-31T08:35:35.061Z (4 months ago)
- Topics: component, custom-element, embed, gist, web, webcomponents
- Language: HTML
- Homepage: https://moebiusmania.github.io/gist-embed/
- Size: 612 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# gist-embed
> Component for easily embed a GitHub Gist in your webpages/webapps. Built on top of the `Custom Elements` v1 spec and the `Gist REST API`.
Works in both the browser or a Webpack powered project.
### Install
It's **not** available yet on NPM!
```
$ npm install gist-embed
--- or --
$ yarn add gist-embed
```### How to use [Browser]
```html
```
### How to use [Webpack]
```javascript
import "gist-embed";
```### Run project locally
Few easy and common steps
```bash
$ git clone https://github.com/moebiusmania/gist-embed
$ cd gist-embed
$ npm run dev
```### Tests
WIP
### License
Released under the [MIT](LICENSE) license.