wp-syntax test

**Example 1: PHP, no line numbers**

    <div id="foo">
    <?php
      function foo() {
        echo "Hello World!\\n";
      }
    ?>
    </div>

**Example 2: Java, with line numbers**

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

**Example 3: Ruby, with line numbers starting at 18**

18
19
20
21
22
    class Example
      def example(arg1)
        return "Hello: " + arg1.to_s
      end
    end

2 thoughts on “wp-syntax test

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">