본문으로 바로가기

google-code-prettify

category Helloworld! 2012. 12. 27. 10:58

syntaxhighlighter를 내가 잘 이용을 못하는건지 색상구분도 잘안돼고

사용도 불편해 google에서 지원해주는 prettify를 사용하기로했다.

근데 이건 또 line number가 나오질 않는다….

짜증짜증!!! 그래도 syntaxhighlighter가 더 잘되있는거같은데 다 영어설명이라…

google code prettify는 한글로 설명되있는 자료도 많고해서 금방 바꾸긴했지만

line number도 없고 깔끔하지 않은 느낌…

우선 귀찮으니깐 오늘은 여기까지!

소스코드 다운받아 적용 후 게시물에 쓸때는

<<pre class=”prettyprint”>
를 입력하여 사용하면 된다.


* 참고사이트 

- 사용 방법 :
http://ghebook.blogspot.kr/2011/09/google-code-prettify.html?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed:+blogspot/LjfQi+(%EC%A1%B0%EA%B8%88%EC%9D%80+%EB%8A%90%EB%A6%AC%EA%B2%8C+%EC%82%B4%EC%9E%90.)
- google-code-prettify 사이트 :
http://code.google.com/p/google-code-prettify/