Go Top

2019年1月30日 星期三

[Test][網頁高亮程式碼] codeblock prettyprint linenums

<pre class="codeblock">
public class HelloWorld {

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

<pre class="prettyprint">
public class HelloWorld {

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

<pre class="codeblock prettyprint">
public class HelloWorld {

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

<pre class="prettyprint linenums">
public class HelloWorld {

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

沒有留言:

張貼留言

Copyright © BCL BLOG | Powered by Blogger