2011. 6. 8. 17:18 컴퓨터 & misc 셋팅/blog
SyntaxHighlighter + script
skin.html
title 다음에 붙여넣는다.
<!-- 여기부터 -->
title 다음에 붙여넣는다.
<!-- 여기부터 -->
<script type="text/javascript" src="./images/shCore.js"></script>
<script type="text/javascript" src="./images/shBrushJScript.js"></script>
<script type="text/javascript" src="./images/shBrushJava.js"></script>
<script type="text/javascript" src="./images/shBrushCss.js"></script>
<script type="text/javascript" src="./images/shBrushCpp.js"></script>
<script type="text/javascript" scr="./images/shBrushXml"></script>
<script type="text/javascript" scr="./images/shBrushPlain"></script>
<script type="text/javascript" scr="./images/shBrushSql"></script>
<link rel="stylesheet" type="text/css" href="./images/shCore.css">
<link rel="stylesheet" type="text/css" href="./images/shThemeDefault.css">
<script type="text/javascript">
SyntaxHighlighter.all()
</script>
<!-- 여기까지 -->
*사용법
<script class="brush:cpp" type="syntaxhighlighter">
...
</script>
</script>
'컴퓨터 & misc 셋팅 > blog' 카테고리의 다른 글
수식편집기 (0) | 2011.09.19 |
---|---|
SyntaxHighlighter + jQuery 4 cpp (0) | 2011.06.03 |