Skip to content

Vue component to embed :octocat: Github Gists, inspired by Blair Vanderhoof's gist-embed.

Notifications You must be signed in to change notification settings

ssiddh/vue-embed-gist

 
 

Repository files navigation

vue-embed-gist

NPM version NPM downloads CircleCI Contributor Covenant

Vue component to embed Github Gists, inspired by Blair Vanderhoof's gist-embed. (https://github.com/blairvanderhoof/gist-embed)

Demo

Demo of vue-embed-gist

Install

yarn add vue-embed-gist

or

npm install --save vue-embed-gist

Usage

<template>
  <vue-embed-gist gist-id="your gist id" file="your file name" />
</template>

<script>
import VueEmbedGist from "vue-embed-gist";

export default {
  components: {
    VueEmbedGist,
  },
};
</script>

Props

gist-Id

Type: String Required: true

:octocat: Github gist Id

file

Type: String Required: false

File name in the gist

License

MIT © Sudhanshu Siddh

About

Vue component to embed :octocat: Github Gists, inspired by Blair Vanderhoof's gist-embed.

Resources

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 67.6%
  • Vue 32.4%