<pre class=brush:c++>와 </pre>로 감싸면 C++ 코드 하이라이팅
void __fastcall MyFunction(int Param1, AnsiString &Param2)
{
switch(Param1)
{
case 1: ShowMessage("Param1 is 1");
default: ShowMessage(Param2 + IntToStr(Param1));
}
}
<pre class=brush:delphi>와 </pre>로 감싸면 델파이 코드 하이라이팅
procedure MyFunction(Param1: integer; var Param2: string)
begin
case Param1 of
1: ShowMessage('Param1 is 1');
else ShowMessage(Param2 + IntToStr(Param1));
end;
<pre class=brush:sql>와 </pre>로 감싸면 SQL 코드 하이라이팅
select
t1.c1, t1.c2, t2.c2
from table1 t1
inner join table2 t2 on t1.c1=t2.c1
where t1.c1 > 50
그 외에도... 자바, C#, PHP, 파이썬, 루비 등등 가능.
|