Testing WP-CodeBox
-
Hi,
I’m testing this WP-CodeBox functionality out. I would like to add code to my posts to help others out and have tested a few out. This WP-CodeBox seems to be ok, I like the ease of use and the way it displays it.
Download Now: Wordpress Plugin - WP-CodeBox (32) - 758.42 KB
Show PHP code with line numbers
1 2 3 4 5 6 7 8 9 10
<div id="foo"> <?php function foo() { echo "Hello World!\\n"; } for (\$i = 0; \$i < 10 $i++) { foo(); } ?> </div>
Show Java code with line numbers
public class Hello { public static void main(String[] args) { System.out.println("Hello World!"); } }
Show class with line numbers and download link
18 19 20 21 22
class Example def example(arg1) return "Hello: " + arg1.to_s end end
Let me know what you think, I would love to hear from you.
Advertisement
Leave a Comment








