You can download the plugin from http://wordpress.org/extend/plugins/wp-syntax/. And it supports highlighting with or without line numbers and maintains formatting while copying snippets of code from the browser.
But it’s not very convenient to use it, when edit a post, I must use the ‘html view’ mode, and add
1 2 3 4 5 6 7 | <div id="foo"> <?php function foo() { echo "Hello World!n"; } ?> </div> |
1 2 3 4 5 | public class Hello { public static void main(String[] args) { System.out.println("Hello World!"); } } |
1 2 3 4 5 | class Example def example(arg1) return "Hello: " + arg1.to_s end end |
唉,为什么好多帅哥们都从MT换到WP了呢?
万不得已啊。
原来的server没有了,现在的只支持php
你好,Meteor,能留下您的网络联系方式吗,有点事情找您.较急.
谁好就用谁的,都不介意。
早就换了。