We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a82009e commit 8c1e434Copy full SHA for 8c1e434
content/docs/reference/templates/functions.md
@@ -1724,7 +1724,7 @@ the end.
1724
#### printf
1725
1726
```yag
1727
-{{ $result := <format> <args...> }}
+{{ $result := printf <format> <args...> }}
1728
```
1729
1730
Interpolates `args...` according to `format`. See the [Go `fmt` package documentation](https://pkg.go.dev/fmt).
@@ -2402,7 +2402,7 @@ start index and the subslice extends to the end of `item`.
2402
#### sort
2403
2404
2405
-{{ $sorted := <list> [options] }}
+{{ $sorted := sort <list> [options] }}
2406
2407
2408
Returns the given list in a sorted order. The list's items must all be of the same type. The optional `options` argument
0 commit comments