November 26, 2016

Test New Syntax Highlighter - Pretiffy


package main 

import "fmt"

func f(from string) {
    for i := 0; i < 3; i++ {
        fmt.Println(from, ":", i)
    }
}


Tatacara penggunaan prettify

<pre class="prettyprint linenums lang=html">
package main import "fmt"

func f(from string) {
    for i := 0; i < 3; i++ {
        fmt.Println(from, ":", i)
    }
}
</pre>
untuk html encoding bisa disini http://htmlencode.org/

No comments:

Post a Comment