当前位置: 首页 >> IT网络,软件推荐 >> 文章正文

测试wordpress代码高亮插件

新装来一个代码高亮插件,看看效果怎么样…..

下载: hi.c
  1. #include"stdio.h"
  2. int main(void)
  3. {
  4. printf("缘维测试代码高亮插件")
  5. /****************************
  6. 注释也要试一下,看样子好像还不错
  7. 的样子
  8. *****************************/
  9. return 0;
  10. }

下面测试继续的………
**Example 2: Java, with line numbers, collapse codebox**

public class Hello {
      
public static void main(String[] args) {
        
System.out.println("Hello World!");
      
}
    
}

**Example 3: Ruby, with line numbers starting at 18, code downloading(ruby.txt)**

  1. class Example
  2.       def example(arg1)
  3.         return "Hello: " + arg1.to_s
  4.       end
  5.     end

2 Responses to “测试wordpress代码高亮插件”

  1. 半瓶墨水 说:

    可以尝试一下代码发芽网,配色效果选择比较多,无须插件,支持100多种编程语言。

    回复

    缘维 Reply:

    :shock: 谢谢了……去看看.

    回复

发表评论