An open API service indexing awesome lists of open source software.

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.

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.