WP-Syntax 0.8 支持的语言

WP-Syntax 0.8
把WP-Syntax更新到最新的0.8版本,这个版本可以说已经非常不错了,支持了n多的语言,
和我的这个模板配合起来使用也非常完美,列出支持的语言列表,供自己查询。
WP-Syntax 0.8 支持的语言列表:

1
2
3
4
5
abap, actionscript, actionscript3, ada, apache, applescript, asm,z80,asp, autoit, bash, blitzbasic, bnf, c, c_mac, caddcl, cadlisp, cfdg,
cfm, cpp-qt, cpp, csharp, css, d, delphi, diff, div, dos, dot, eiffel, fortran, freebasic, genero, gettext, glsl, gml, groovy, haskell,xpp,
html4strict, idl, ini, inno, io, java, java5, javascript, kixtart,xml, latex, lisp, lotusformulas, lotusscript, lua, m68k, matlab, mirc, mpasm,
mxml, mysql, nsis, objc, ocaml-brief, ocaml, oobas, oracle8, pascal, per, perl, php-brief, php, plsql, python, qbasic, rails, reg, robots,
ruby, sas, scala, scheme, sdlbasic, smalltalk, smarty, sql,winbatch,tcl, text, thinbasic, tsql, vb, vbnet, verilog, vhdl, visualfoxpro,


看一下效果
PLSQL

1
2
3
4
5
6
7
8
9
CREATE OR REPLACE PROCEDURE p_wp_syntax_test(a in number
                                             b in varchar2)
BEGIN
   FOR i IN select * form table_name LOOP
   END LOOP;
EXCEPTION
   WHEN OTHERS THEN
      null;
END;

PERL

1
2
3
4
5
6
7
8
9
#!/usr/bin/perl
 
$file = '/usr/local/etc/httpd/htdocs/images/picture.gif';
 
print "Content-Type: image/gif\n\n";
open(GIF,"<$file") || die "Can't open GIF\n";
while (read(GIF,$buffer,16384)) {
   print $buffer;
}

SHELL

1
2
3
4
5
6
7
8
9
10
11
#!/usr/bin/ksh
 
PRODUCT=UTILS
PROC=`basename $0`
DIR=`dirname $0`
 
. `dirname $0`/siteinit.ksh
 
# Run Perl
 
exec $PERL -w $DIR/hello.pl $* 2>&1

Leave a Reply

 

 

 

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

*