测试wordpress代码高亮插件
新装来一个代码高亮插件,看看效果怎么样…..
下载: hi.c
- #include"stdio.h"
- int main(void)
- {
- printf("缘维测试代码高亮插件");
- /****************************
- 注释也要试一下,看样子好像还不错
- 的样子
- *****************************/
- return 0;
- }
下面测试继续的………
**Example 2: Java, with line numbers, collapse codebox**
public class Hello {
public static void main(String[] args) {
System.out.println("Hello World!");
}
}
public static void main(String[] args) {
System.out.println("Hello World!");
}
}
**Example 3: Ruby, with line numbers starting at 18, code downloading(ruby.txt)**
- class Example
- def example(arg1)
- return "Hello: " + arg1.to_s
- end
- end
可以尝试一下代码发芽网,配色效果选择比较多,无须插件,支持100多种编程语言。
回复
缘维 Reply:
八月 26th, 2008 at 5:00 下午
回复