« Starting old documents backport ... | Main | 使MT支持代码高亮功能 »
版权声明:可以任意转载,转载时请务必以超链接形式标明文章原始出处和作者信息及本声明。
本文网址:http://www.hzqbbc.com/blog/arch/2005/04/eeeaemtcodebeau.html
April 07, 2005
安装并调试好了MTcodebeautifier+MTTextile
今天终于调试通过了MTcodebeautifier + MTTextile 了,感觉还行,但是不够强大,迟点再改写好,尽量贴近vim的解析效果:)
以下就是一小段perl代码的示例:
#!/usr/bin/perl -w
use strict;
use FCGI;
use vars qw($cnt);
$cnt = 0;
while(FCGI::accept()>=0) {
print "Content-Type: text/html\n\n";
print "This is the $cnt request!</br>\n";
}
再来看看php的示例:
<?PHP
/* PHP 示例 */
echo "This is php demo";
?>
是不是很Cool? 但还不够cool..接下来有时间就改造之..
Posted by hzqbbc at April 7, 2005 07:02 PM