Some examples of the combination in action.
Simple:
[js]
function square(num)
{
return num*num;
}
With line numbering:
[java,Y]
public class Student
{
private String name;
private String matricNo;
public Student(String name, String matricNo)
{
this.name=name;
this.matricNo=matricNo;
}
}
Start line numbering from 10
[sql,Y,10]
select * from product where price>100 and type='ELECTRONICS';
select * from staff where name like '%JOHN%';
select * from store where manager='HENRY LEE';
My first time to know about this plugin. WordPress csh GeSHi Plugin? It really sounds new to me. I will review more about it first before installing. Thanks!
ReplyDelete