SyntaxHighlighter

HTML & CSS & JS 2015. 6. 22. 07:02

필요에 따라 선택된 파일들을 스킨 헤더에 추가

<script type="text/javascript" src="./images/shCore.js"></script>
<script type="text/javascript" src="./images/shBrushBash.js"></script>
<script type="text/javascript" src="./images/shBrushCpp.js"></script>
<script type="text/javascript" src="./images/shBrushCss.js"></script>
<script type="text/javascript" src="./images/shBrushJava.js"></script>
<script type="text/javascript" src="./images/shBrushJScript.js"></script>
<script type="text/javascript" src="./images/shBrushPhp.js"></script>
<script type="text/javascript" src="./images/shBrushPlain.js"></script>
<script type="text/javascript" src="./images/shBrushPython.js"></script>
<script type="text/javascript" src="./images/shBrushSql.js"></script>
<script type="text/javascript" src="./images/shBrushXml.js"></script>
<link type="text/css" rel="stylesheet" href="./images/shCoreEclipse.css"/>


스크립트 실행

<script type="text/javascript">
SyntaxHighlighter.defaults['toolbar'] = false;
SyntaxHighlighter.all();
</script>



'HTML & CSS & JS' 카테고리의 다른 글

HTML 4.01 tag  (0) 2015.06.22
HTML XML 문서 형식 선언  (0) 2015.06.22
XML DTD 선언  (0) 2015.06.22
XML 문서 규칙  (0) 2015.06.22
CSS 작성  (0) 2015.06.22
SyntaxHighlighter  (0) 2015.06.22
Trackbacks 0 : Comments 0

Write a comment