Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to embed a file gist in an HTML file?

Tags:

github

gist

I used to embed a gist file in the HTML using code such as the following:

<script src="https://gist.github.com/4577639.js?file=hello_world_addr.wsdl"></script>

This no longer works since all the files are shown and not the individual file. Anyone knows why this happening and how to fix it? Thanks!

like image 451
Claude Avatar asked Feb 05 '13 18:02

Claude


1 Answers

Here you are good sir

<script
  src="https://gist.github.com/claudemamo/4577639.js?file=hello_world_addr.wsdl">
</script>
like image 104
2 revs Avatar answered Oct 13 '22 16:10

2 revs