<script type="text/javascript"> alert("SyntaxHighlighter"); </script>예) python 코드 삽입하기.
# !usr/bin/env python # ryuuu; print 'hello world'.
<pre
name
=
"code"
class
=
"brush:원하는 언어;"
>
에디터 모드에서 이 사이에 코드를 작성하면 된다.
</pre
>
예) javascript 코드 삽입하기.
<pre
name
=
"code"
class
=
"brush:
javascript;"
>
print 'hello world'.
</
pre
>
'memo > Tips' 카테고리의 다른 글
systemcall table (0) | 2018.05.06 |
---|---|
xinetd nc 설정 (0) | 2018.02.05 |
댓글