Keep on moving

あんまりまとまってないことを書きますよ

2013-02-22から1日間の記事一覧

gistを埋め込むときにファイルだけ指定して表示したい

こんな感じ。 ↓embed用jsのクエリ引数 file にファイル名を指定しましょう。 <script src="https://gist.github.com/masahitojp/5003188.js?file=HttpStatus.scala"> </script> 参考 http://stackoverflow.com/questions/14714342/how-to-embed-a-file-gist-in-an-html-file