All Projects → tleunen → react-gist

tleunen / react-gist

Licence: MIT License
Github Gist React component

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to react-gist

obsidian-gist
📒 Gist View for Obsidian(https://obsidian.md)
Stars: ✭ 23 (-69.74%)
Mutual labels:  gist, github-gist
Code Settings Sync
🌴💪 Synchronize your Visual Studio Code Settings Across Multiple Machines using GitHub GIST 💪🌴
Stars: ✭ 3,754 (+4839.47%)
Mutual labels:  gist, github-gist
Just Dashboard
📊 📋 Dashboards using YAML or JSON files
Stars: ✭ 1,511 (+1888.16%)
Mutual labels:  gist, github-gist
gister
A command line app to create Gists in Go
Stars: ✭ 26 (-65.79%)
Mutual labels:  gist
GitHub-tab-size
📏 Userstyle to set a custom tab-size on GitHub and Gist
Stars: ✭ 17 (-77.63%)
Mutual labels:  gist
github-stats-box
📌 Update a gist to contain your GitHub stats
Stars: ✭ 72 (-5.26%)
Mutual labels:  gist
code-medium
Browser extension that simplifies writing code in Medium posts. Quickly create and edit Github Gists without leaving the editor
Stars: ✭ 59 (-22.37%)
Mutual labels:  gist
pastila
a electron app that takes notes via markdown and github gist.
Stars: ✭ 25 (-67.11%)
Mutual labels:  gist
BookmarkHub
BookmarkHub , sync bookmarks across different browsers
Stars: ✭ 720 (+847.37%)
Mutual labels:  gist
gists
Methods for working with the GitHub Gist API. Node.js/JavaScript
Stars: ✭ 96 (+26.32%)
Mutual labels:  gist
gist
A simple Github Gist client
Stars: ✭ 27 (-64.47%)
Mutual labels:  gist
netease-music-box
🎧 将你最近一周的网易云音乐的听歌记录更新到 Gist
Stars: ✭ 57 (-25%)
Mutual labels:  github-gist
PyTools
❤️❤️❤️ Cute Tools By Python
Stars: ✭ 51 (-32.89%)
Mutual labels:  gist
linq-fns
👴 LINQ for Javascript, written by TypeScript
Stars: ✭ 74 (-2.63%)
Mutual labels:  gist
gisture
A minimal and flexible blog generator based on GitHub Gist.
Stars: ✭ 24 (-68.42%)
Mutual labels:  gist
ideas-md
A float-to-the-top ideas log built with React
Stars: ✭ 32 (-57.89%)
Mutual labels:  gist
chalkboard
Share your code and collaborate with developers around the world.
Stars: ✭ 30 (-60.53%)
Mutual labels:  gist
onetab-sync
Command line utility for sync and backup OneTab Chrome extension data.
Stars: ✭ 48 (-36.84%)
Mutual labels:  gist
strava-box
🏃‍♂️🏃‍♀️ Update a gist to contain your YTD exercise metrics from Strava
Stars: ✭ 34 (-55.26%)
Mutual labels:  gist
code-examples-manager
Software tool to manage your notes and code examples, to publish them as gists or snippets
Stars: ✭ 26 (-65.79%)
Mutual labels:  gist

react-gist

NPM

Use this component to add a github gist on your website.

Preview

Get the id from the gist url https://gist.github.com/{your_name}/{id} and set it as a property of the component.

Example

Single-file gist:

var React = require('react');
var Gist = require('react-gist');

React.render(
    <Gist id='5104372' />,
    document.body
);

Edit react-gist-example-single-file

Multi-file gist:

var React = require('react');
var Gist = require('react-gist');

React.render(
    <Gist id='5995ea726914f280afb3' file='Chef-Dockerfile' />,
    document.body
);

Edit react-gist-example-multi-file

Usage

<Gist id={string} file={string} />

  • id {string} Id of the gist
  • file {string} Name of a specific file in a multi-file gist

License

MIT, see LICENSE.md for details.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].