Skip to content

kyshel/GistLive

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#GistLive GistLive is a simple viewer for sharing live code examples hosted on GitHub Gist.
For example, if your Gist URL is:

https://gist.github.com/kyshel/53468bff883a0d195622d8c8506c7eb2

Replace “gist.github.com” with “kyshel.github.io/GistLive/?id=” in the URL to view it:

https://kyshel.github.io/GistLive/?id=53468bff883a0d195622d8c8506c7eb2

Your Gist need:

  • index.html (essential)
  • README.md (optional)
  • .json (optional)

The main source for your example is in index.html. You can use absolute links, such as CDN-hosted D3, jQuery or Leaflet.
To explain your example, add a README.md written in Markdown.
Customize the appearance of your GistLive by adding a .json file. The following options are supported:

  • license - a supported SPDX License Identifier
  • height - the iframe height in pixels; defaults to 700

##Credits GistLive is run by Kyshel.
GistLive is inspired by bl.ocks.org

Code highlighting by Highlight.js.
Markdown formatting by Showdown.

Releases

No releases published

Packages

No packages published