react-github-gist
v2.0.1
Published
Embed a gist from Github with React.
Downloads
7
Readme
Embed a gist from Github with React.
Used by illuminsight, Ptorx and other Xyfir projects.
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"
/>
);