깔끔하게 소스 코드 보기

Computing 2008. 5. 20. 10:24
신택스 하일라이터를 쓰는 방법

자세한 내용은 http://gyuha.tistory.com/193 를 참조.

http://code.google.com/p/syntaxhighlighter/

테스트 :


Configuration option

These options allow you to individually configure text blocks.

nogutter Will display no gutter.
nocontrols Will display no controls at the top.
collapse Will collapse the block by default.
firstline[value] Will begin line count at value. Default value is 1.
showcolumns Will show row columns in the first line.

The options are passed together with the alias and are separated by a colon : character.

<pre name="code" class="html:nocontrols:firstline[10]">
... some code here ...
</pre>
: