2013年4月20日 星期六

Gist 連結指定檔案教學

這是一般的 Gist Link
<script src="https://gist.github.com/<USER_NAME>/<GIST_ID>.js"></script>

要指定檔案的話
<script src="https://gist.github.com/<USER_NAME>/<GIST_ID>.js?file=<FILE_NAME>"></script>

<USER_NAME> 帳號名稱
<GIST_ID> Gist ID
<FILE_NAME> 要指定的檔名

沒有留言:

張貼留言