安装代码高亮插件

准备开始转回wp 先装个高亮插件 下载地址 http://wordpress.org/extend/plugins/wp-syntax/ 为了更方便把编辑器改一下,看了半天终于找到了 wp-includes/js/quicktags.js 我觉得 code 用不到就把 改了,如下 edButtons[edButtons.length] =</code> <code>new edButton('ed_code' ,'code' ,'<pre lang="php">' ,'</pre>' ,'c' ); 来个 php 的呵呵 < ?php echo 'hello world!';?>

2009-03-15 · 1 分钟 · admin