Study/Etc.

티스토리에 소스 코드 올리기 - Google SyntaxHighlihter

빨간당무 2010. 8. 12. 02:24
사용 방법

 
   
 
      // 코드를 적는다
   


언어별 명칭 표 - "brush:명칭"을 쓰면 각 언어별로 표현이 가능함
 

Brush name Brush aliases File name
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
PHP php shBrushPhp.js
Plain Text plain, text shBrushPlain.js
Python py, python shBrushPython.js
Ruby rails, ror, ruby shBrushRuby.js
SQL sql shBrushSql.js
Visual Basic vb, vbnet shBrushVb.js
XML xml, xhtml, xslt, html, xhtml shBrushXml.js


reference : http://pulsebeat.tistory.com/1