Claude
Claude

Reputation: 524

How to embed a file gist in an HTML file?

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!

Upvotes: 9

Views: 5598

Answers (1)

Zombo
Zombo

Reputation: 1

Here you are good sir

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

Upvotes: 17

Related Questions