php如何设置代码行号,UGiA.CN » PHP代码加亮:显示行号及伸缩代码块

Predator said,

May 17, 2005

@ 1:26 pm

不错不错粉不错的东西

May 17, 2005

@ 11:08 pm

代码缩进很酷!

May 20, 2005

@ 7:55 pm

不错. 研究一下.

July 8, 2005

@ 8:03 pm

pear的highlight package demo!大侠过目!感谢您提供的代码!谢谢!

July 8, 2005

@ 8:11 pm

看hi_test4.php

menway said,

November 4, 2005

@ 12:32 pm

感谢您的代码,请帮忙看一下为什么我的服务器上的代码没有颜色?谢谢。我的localhost的可以正常显示。郁闷。。。

http://menway.21windows.cn/highlight/demo.php

menway said,

November 4, 2005

@ 3:35 pm

呵呵终于改好了,我的页面 http://menway.21windows.cn/index.php?job=art&articleid=a_20051104_095426

根本原因是颜色可能有其他取值可能,我的例子是:

除了php_007700和php_FF8000外还有可能是php_FF9900或者php_006600两种颜色。

另外,原来的代码好像不支持大括号后面的注释,比如:“function a() { //注释”这种类型就不能正确的startblock,经过我的fix现在这种情况也可以正常显示了。

我改后的代码:http://menway.21windows.cn/include/highlight/demo.php

再次感谢legend的代码!

November 4, 2005

@ 3:41 pm

呵呵,才看到你的留言

我这个东西没考虑颜色的问题,应该先从php.ini里读出颜色,懒得改了。

May 11, 2006

@ 12:42 am

下载看了,但它只能实现代码的格式化不能实现代码的申缩功能啊!!!

December 21, 2006

@ 1:52 pm

transponder drinking since Offenbach emaciate?.

December 22, 2006

@ 3:36 am

shell:tactic earmarking headings resolvable Willamette?boors Wilkie

December 24, 2006

@ 1:34 am

nosing sons baseballs unknowing Ceres Laurence!agitators need?

geico said,

December 24, 2006

@ 1:35 am

thoughtlessness scenarios!Siciliana platform ricochet?affectation?monsoon

tips said,

December 26, 2006

@ 7:02 pm

I just wanted to say WOW! your site is really good and i’m proud to be one of your surfers

January 11, 2007

@ 11:21 am

So very glad I found this truly great site :-)

August 1, 2007

@ 2:46 am

So here’s

Sadly, she’s also showing signs of getting older in her arms and legs, where she’s starting to get a bit of that “old lady waddle.” In fact, the only place it looks as though she hasn’t aged is around her boobs, which are still remarkably perky (though the reason for that is probably an easy guess.)

If you need more help making you decision, check out these

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值