diff options
Diffstat (limited to 'doc/codelab/wiki/htmlify.go')
-rw-r--r-- | doc/codelab/wiki/htmlify.go | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/codelab/wiki/htmlify.go b/doc/codelab/wiki/htmlify.go new file mode 100644 index 000000000..4a52e077f --- /dev/null +++ b/doc/codelab/wiki/htmlify.go @@ -0,0 +1,12 @@ +package main + +import ( + "os" + "template" + "io/ioutil" +) + +func main() { + b, _ := ioutil.ReadAll(os.Stdin) + template.HTMLFormatter(os.Stdout, b, "") +} |