<script type='text/javascript'> function loadCss(url) { var headElem = document.getElementsByTagName('head')[0] var linkElem =document.createElement("link") linkElem.rel = "Stylesheet" linkElem.type = "text/css" linkElem.href = url headElem.appendChild(linkElem) } loadCss("http://alexgorbatchev.com/pub/sh/current/styles/shCore.css"); loadCss("http://alexgorbatchev.com/pub/sh/current/styles/shThemeDefault.css"); </script> <script src="http://alexgorbatchev.com/pub/sh/current/scripts/shCore.js" type='text/javascript' ></script> <script type="text/javascript" src="http://alexgorbatchev.com/pub/sh/current/scripts/shBrushXml.js" ></script> <script type="text/javascript" src="http://alexgorbatchev.com/pub/sh/current/scripts/shBrushJScript.js" ></script> <script type="text/javascript" src="http://alexgorbatchev.com/pub/sh/current/scripts/shBrushJava.js" ></script> <script type="text/javascript" src="http://alexgorbatchev.com/pub/sh/current/scripts/shBrushScala.js" ></script> <script type="text/javascript" src="http://alexgorbatchev.com/pub/sh/current/scripts/shBrushPlain.js" ></script> <script language='javascript' type="text/javascript"> <!-- SyntaxHighlighter.config.bloggerMode = true; SyntaxHighlighter.defaults['toolbar'] = false; SyntaxHighlighter.all(); // --> </script>
2013年11月10日日曜日
BloggerでSyntaxHighlighterを使う。
ガジェットからSyntaxHighlighterを使う。
登録:
コメントの投稿 (Atom)
0 件のコメント:
コメントを投稿