mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-08 17:44:52 -04:00
Clarify that print
takes 1+ arguments
This was really not clear from the doc before.
This commit is contained in:
parent
de439ab84e
commit
de36e6f8f0
@ -1,7 +1,7 @@
|
||||
---
|
||||
title: print
|
||||
linktitle: print
|
||||
description: Prints the default representation of the given argument using the standard `fmt.Print` function.
|
||||
description: Prints the default representation of the given arguments using the standard `fmt.Print` function.
|
||||
godocref: https://golang.org/pkg/fmt/
|
||||
date: 2017-02-01
|
||||
publishdate: 2017-02-01
|
||||
@ -22,5 +22,6 @@ See [the go doc](https://golang.org/pkg/fmt/) for additional information.
|
||||
|
||||
```
|
||||
{{ print "foo" }} → "foo"
|
||||
{{ print "foo" "bar" }} → "foobar"
|
||||
{{ print (slice 1 2 3) }} → [1 2 3]
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user