2010년 5월 1일, 2막

코드 하이라이트 적용! 본문

scribble

코드 하이라이트 적용!

창천(蒼天) 2011. 1. 30. 23:08

사용은 아래와 같이 <pre> 태그를 이용해서 사용할수 있다. (brush: 옆에다가 원하는 언어를 써주면 된다능 ㅋ)
1
2
3
<PRE class=brush:html>여기에 코드
</PRE>
5. 그리고 사용가능한 brush는 다음과 같다

참고, Brush 목록

분류 사용가능 brush명 
필요 파일
Bash/shell bash, shell shBrushBash.js
C# c-sharp, csharp shBrushCSharp.js
C++ cpp, c shBrushCpp.js
CSS css shBrushCss.js
Delphi delphi, pas, pascal shBrushDelphi.js
Diff diff, patch shBrushDiff.js
Groovy groovy shBrushGroovy.js
JavaScript js, jscript, javascript shBrushJScript.js
Java java shBrushJava.js
Perl perl, pl shBrushPerl.js
PHP php shBrushPhp.js
Plain Text plain, text shBrushPlain.js
Python py, python shBrushPython.js
Ruby rails, ror, ruby shBrushRuby.js
Scala scala shBrushScala.js
SQL sql shBrushSql.js
Visual Basic vb, vbnet shBrushVb.js
XML xml, xhtml, xslt, html, xhtml shBrushXml.js

[출처]
http://demun.tistory.com/1647


test 해보자~

#include "stdio.h"
#include "string" 
#include "vector" 
using namespace std;   

int main() 
{     
    return 0; 
}



'scribble' 카테고리의 다른 글

'오늘을 즐겨라'...  (0) 2011.03.07
TEDxSeoul - 정혜신(누구에게나 엄마가 필요하다.)  (0) 2011.02.22
아... 김광석...  (0) 2011.01.06
게임이론(Game theory)  (0) 2010.12.22
죄수의 딜레마(prisoner's dilemma)  (0) 2010.12.22