How to embed a file gist in an HTML file?

陌路散爱 提交于 2019-12-04 20:29:21

问题


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!


回答1:


Here you are good sir

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


来源:https://stackoverflow.com/questions/14714342/how-to-embed-a-file-gist-in-an-html-file

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!