xyfir / react-github-gist

:octocat: Embed a gist from Github with React. (Abandoned)

Home Page:https://www.npmjs.com/package/react-github-gist

Repository from Github https://github.comxyfir/react-github-gistRepository from Github https://github.comxyfir/react-github-gist

Embed a gist from Github with React.

Used by illuminsight, Ptorx and other Xyfir projects.

npm version Build Status

Due to its simplicity, this project should not need frequent updates.

import { ReactGithubGist } from 'react-github-gist';
import React from 'react';

const Gist = () => (
  <ReactGithubGist
    // Gist to render
    gist="GithubUser/GistIdentifier23a110196cc3ec113"
    // Optionally render only a single file
    file="file.md"
  />
);

About

:octocat: Embed a gist from Github with React. (Abandoned)

https://www.npmjs.com/package/react-github-gist

License:MIT License


Languages

Language:TypeScript 62.0%Language:JavaScript 38.0%