H. Mitchell
H. Mitchell

Reputation: 65

How can I use code from a Github gist in my Codepen (Javascript)?

I've got a gist that has the following code:

var hello = "Hello World!" 

I'd like to be able to use it in my Codepen project's Javascript, but I'm not sure how. I tried using Github's embed feature, but that just displays a link to the gist and nothing more.

Here's the link to my Codepen:

http://codepen.io/Random_Pseudonym/pen/EWvdge

Upvotes: 0

Views: 296

Answers (1)

The protocol in the gist that you've shown uses
https//gist.github.com/Rusty25/3f08edf4e64d3373511df9a8a4ef45f4.js

Should it not be https://gist.github.com/Rusty25/3f08edf4e64d3373511df9a8a4ef45f4.js?

Upvotes: 1

Related Questions