반응형

추가할 라이브러리
<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/shAutoloader.js'></script>
<link rel='stylesheet' type='text/css' href='http://alexgorbatchev.com/pub/sh/current/styles/shCore.css'/>
<link rel='stylesheet' type='text/css' href='http://alexgorbatchev.com/pub/sh/current/styles/shThemeDefault.css'/>
<script type='text/javascript' src='http://alexgorbatchev.com/pub/sh/current/scripts/shCore.js'></script>
<script type='text/javascript' src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushAS3.js'></script>
<script type='text/javascript' src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushCpp.js'></script>
<script type='text/javascript' src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushCss.js'></script>
<script type='text/javascript' src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushDiff.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/shBrushJScript.js'></script>
<script type='text/javascript' src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushPerl.js'></script>
<script type='text/javascript' src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushPhp.js'></script>
<script type='text/javascript' src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushPlain.js'></script>
<script type='text/javascript' src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushPython.js'></script>
<script type='text/javascript' src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushSql.js'></script>
<script type='text/javascript' src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushVb.js'></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/shLegacy.js'></script>
<script type='text/javascript'>
SyntaxHighlighter.all();
SyntaxHighlighter.config.stripBrs = true;
SyntaxHighlighter.config.bloggerMode = true;
</script>

코드 적용

<pre class="brush: js; smart-tabs: true">
</pre>
blush종류
applescript @shBrushAppleScript.js actionscript3 as3 @shBrushAS3.js bash shell @shBrushBash.js coldfusion cf @shBrushColdFusion.js cpp c @shBrushCpp.js c# c-sharp csharp @shBrushCSharp.js css @shBrushCss.js delphi pascal @shBrushDelphi.js diff patch pas @shBrushDiff.js erl erlang @shBrushErlang.js groovy @shBrushGroovy.js java @shBrushJava.js jfx javafx @shBrushJavaFX.js js jscript javascript @shBrushJScript.js perl pl @shBrushPerl.js php @shBrushPhp.js text plain @shBrushPlain.js py python @shBrushPython.js ruby rails ror rb @shBrushRuby.js sass scss @shBrushSass.js scala @shBrushScala.js sql @shBrushSql.js vb vbnet @shBrushVb.js xml xhtml xslt html @shBrushXml.js

반응형

'코드자료실 > html' 카테고리의 다른 글

[meta 태그] meta태그 종류와 사용  (0) 2013.03.14
[html] 특수문자 코드표  (0) 2013.01.21
[링크] 홈페이지 템플릿  (0) 2012.12.14
블로그 이미지

cocy

조금은 가볍게! 시작은 새롭게!

,