ã¯ã¦ãªãã¤ã¢ãªã¼ã« åãè¾¼ãã Gist ã®ã¹ã¿ã¤ã«ãå¤ãã
ã¯ã¦ãªãã¤ã¢ãªã¼ã« Gist ãåãè¾¼ããã®ã¯é常ã«ä¾¿å©ã ãã©ã
ã¯ã¦ãªãã¤ã¢ãªã¼ã®è¦ãç®ã¨åããªããããªããã¤ãã¤ã...
ã¨æããã¦ããæ¹ãã¿ããã®ã§ã¯ãªãã§ããããï¼
ãã¡ããèªåãããã§ããã
ãã®ããã°ã§ä½¿ã£ã¦ãããã¼ãã®å ´åãã³ã¼ãã¯
println "Hello, world."ã®ããã« é»ã£ã½ãèæ¯ã§è¡¨ç¤ºãããã®ã§ãããGist ã ã¨
ã®ããã« ç½ã£ã½ãèæ¯ã§è¡¨ç¤ºããã¦ãã¾ãããªããã¤ãã¤ããªæãã«ãªã£ã¦ãã¾ãã¾ãã
ã¨è¨ããã¨ã§...
ä»å㯠ã¯ã¦ãªãã¤ã¢ãªã¼ã«åãè¾¼ãã Gist ã®ã¹ã¿ã¤ã«ãå¤ããæ¹æ³ã§ãã
Gist ã®ã¹ã¿ã¤ã«ãå¤ããæ¹æ³ã¯ã¨ã£ã¦ãç°¡åï¼ï¼
ã¯ã¦ãªãã¤ã¢ãªã¼ã® CSS ã« Gist ã®ã¹ã¿ã¤ã«ã追å ããã ãã§ãã
ã¯ã¦ãªãã¤ã¢ãªã¼ã® CSS 㯠管çç»é¢ãéããã¡ãã¥ã¼ãã ãã¶ã¤ã³ > ãã¶ã¤ã³ç·¨é ãé¸æãã¦ã詳細ã¿ãã®ä¸çªä¸ã«ãã ã¹ã¿ã¤ã«ã·ã¼ãæ¬ã§è¨å®ã§ãã¾ãã
ãã®ããã°ã®è¨å®ã¯
div.section .gist .gist-file .gist-data pre { background: none repeat scroll 0 0 #222222 !important; } div.section .gist-syntax .k, div.section .gist-syntax .kc, div.section .gist-syntax .kd, div.section .gist-syntax .nx, div.section .gist-syntax .o, div.section .gist-syntax .p { color:#CCCCCC !important; }ã®ãããªæãã§ãã
ãã¤ã³ã㯠å é ã« "div.section" ãå ¥ãããã¨ã§ãã
ããã«ãã Gist ç¨ã® CSS ãããåªå ããã¦é©ç¨ãããããã«ãªãã¾ãã
ã¡ãªã¿ã« ä¸è¨ã®ããã«è¨å®ããã¨
ã®ãããªæãã§è¡¨ç¤ºãããããã«ãªãã¾ãã
Gist ã§ä½¿ããã¦ãã CSS ã¯ã©ã¹åã«ã¤ãã¦ã¯
https://gist.github.com/stylesheets/gist/embed.cssãåç §ãã¦ã¿ã¦ãã ããã