Notice
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 | 29 |
30 | 31 |
Tags
- Monument Valley
- 아이폰
- 아이러브니키
- 아이폰게임
- 게임
- 핑크
- 추천
- 아이패드
- 후기
- 유료
- 레고
- Pink
- 모뉴먼트
- 가사
- 일상
- 맛집
- goblin sword
- great forest
- Monument
- 공략
- 잡담
- 카이로소프트
- JavaScript
- 시사회
- php
- 감상
- 강추
- 모뉴먼트 밸리
- jQuery
- 영화
Archives
- Today
- Total
잡담소장소
SyntaxHighlighter Test 본문
function test() { $a = 0; $b = a; $c = $a.$b; }
드디어 설치한 SyntaxHighlighter! :)
이제 나도 코드를 깔끔하게 ㅠㅠ
1. 설치
설정 - 스킨 - HTML/CSS 편집에 들어가서 </body>와 </html> 사이에 아래 코드 추가
<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 src='http://alexgorbatchev.com/pub/sh/current/scripts/shCore.js' type='text/javascript'></script>
<script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushXml.js' type='text/javascript'></script>
<script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushCpp.js' type='text/javascript'></script>
<script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushPhp.js' type='text/javascript'></script>
<script type="text/javascript">
SyntaxHighlighter.all();
</script>
<link rel='stylesheet' type='text/css' href='http://alexgorbatchev.com/pub/sh/current/styles/shThemeDefault.css' />
<script src='http://alexgorbatchev.com/pub/sh/current/scripts/shCore.js' type='text/javascript'></script>
<script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushXml.js' type='text/javascript'></script>
<script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushCpp.js' type='text/javascript'></script>
<script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushPhp.js' type='text/javascript'></script>
<script type="text/javascript">
SyntaxHighlighter.all();
</script>
2. 사용
<pre class="brush: 브러시 타입"> ...Code... </pre>
* xml, cpp, php 만 사용가능. 그 외의 언어는 따로 링크 찾아보세여..
반응형
'Study ;3' 카테고리의 다른 글
유용할 것 같은 jQuery Plugin (0) | 2013.01.09 |
---|---|
What is Node.js ? (0) | 2012.12.04 |
기밀태씨 강의 (0) | 2012.06.05 |
리마인드용 개발 이야기 (0) | 2012.05.08 |
프로시저 isqlplus에서 실행하는 방법 (0) | 2012.04.18 |
Comments