Monday, September 26, 2016

Gist Test

Gist adalah cara sederhana untuk berbagi snippet. Semua gist adalah repository git yang mendukung versioning, forking, dan dapat digunakan sebagai repository git.

Step 1: Create a Gist 

  1. Log in to Github 
  2. Click the Gist link at the top of the screen (or go to gist.github.com
  3. Fill out the file name (description is optional) 
  4. Enter your code 
  5. Click Create Public Gist 
  6. Optional: You can also click Add File at the bottom to split your code snippet up into several different files if you need to.

Step 2: Embed your Gist

Once you create your Gist, you will be presented with a confirmation page. Click the show embed link and copy/paste the script tag on to your website.

No comments:

Post a Comment