hugo/docs/content/en/functions/println.md

640 B

title linktitle description godocref date publishdate lastmod categories menu keywords signature workson hugoversion relatedfuncs deprecated
println println Prints the default representation of the given argument using the standard `fmt.Print` function and enforces a linebreak. https://golang.org/pkg/fmt/ 2017-02-01 2017-02-01 2017-02-01
functions
docs
parent
functions
strings
println INPUT
false

See the go doc for additional information. \n denotes the linebreak but isn't printed in the templates as seen below:

{{ println "foo" }} → "foo\n"