Testing wp-syntax
Testing a plugin called wp-sytanx. WP-Syntax provides clean syntax highlighting. It supports highlighting with or without line numbers and maintains formatting while copying snippets of code from the browser. More: http://wordpress.org/extend/plugins/wp-syntax/
JavaScript:
1 2 3 4 | if(parseInt(top.frames.length) > 0 ) { top.location.href = location.href; } |
PHP:
1 | <?php print_r( $_SESSION ); ?> |
Java:
1 2 3 4 5 | public class Hello { public static void main(String[] args) { System.out.println("Hello World!"); } } |
Ruby:
18 19 20 21 22 | class Example def example(arg1) return "Hello: " + arg1.to_s end end |
No comments
Jump to comment form | comments rss [?] | trackback uri [?]