Jquery plugins google应用程序脚本未从Github加载JQuery

Jquery plugins google应用程序脚本未从Github加载JQuery,jquery-plugins,github,google-apps-script,jquery-masonry,google-sites,Jquery Plugins,Github,Google Apps Script,Jquery Masonry,Google Sites,我想看看我是否可以在谷歌网站的小工具中加入JQuery插件。。。通过使用HtmlService从HTML文件中呈现HTML,从Google应用程序脚本创建: <script src="http://code.jquery.com/jquery-1.8.2.min.js"></script> <script src="https://github.com/desandro/masonry/blob/master/jquery.masonry.min.js">&l

我想看看我是否可以在谷歌网站的小工具中加入JQuery插件。。。通过使用HtmlService从HTML文件中呈现HTML,从Google应用程序脚本创建:

<script src="http://code.jquery.com/jquery-1.8.2.min.js"></script>
<script src="https://github.com/desandro/masonry/blob/master/jquery.masonry.min.js"></script>

然而。。。这仅渲染此结果:


无效的脚本或HTML内容:-2:意外标记您当前使用的URL指向有关该文件的GitHub信息页面。将其更改为文件的直接链接可以解决您的错误:

https://raw.github.com/desandro/masonry/master/jquery.masonry.min.js https://raw.github.com/desandro/masonry/master/jquery.masonry.min.js
伟大的谢谢答案是如此简单,我觉得自己没有发现它真的很愚蠢。是不是我自己也能找到这个毛病?还是你凭经验才知道?错误消息对我没有帮助。。。我想学习,以便下次我知道该看什么或去哪里。@Lisa Marie:我只是浏览了
https://github.com/desandro/masonry/blob/master/jquery.masonry.min.js
并发现它不是一个JavaScript文件。右键单击页面并单击view source确认了错误的原因,因为我看到页面的HTML从第4行开始,您的错误中提到了这一点。