Skip to content

Commit 3f00943

Browse files
committed
README- fix markdown for a few functions
1 parent 110ecfc commit 3f00943

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,11 +113,11 @@ Within those templates, the object emitted by docker-gen will have [this structu
113113

114114
#### Functions
115115

116-
* *`closest $array $value`: Returns the longest matching substring in `$array` that matches `$value`
116+
* *`closest $array $value`*: Returns the longest matching substring in `$array` that matches `$value`
117117
* *`coalesce ...`*: Returns the first non-nil argument.
118118
* *`contains $map $key`*: Returns `true` if `$map` contains `$key`. Takes maps from `string` to `string`.
119119
* *`dict $key $value ...`*: Creates a map from a list of pairs. Each `$key` value must be a `string`, but the `$value` can be any type (or `nil`). Useful for passing more than one value as a pipeline context to subtemplates.
120-
* *`dir $path`: Returns an array of filenames in the specified `$path`.
120+
* *`dir $path`*: Returns an array of filenames in the specified `$path`.
121121
* *`exists $path`*: Returns `true` if `$path` refers to an existing file or directory. Takes a string.
122122
* *`first $array`*: Returns the first value of an array or nil if the arry is nil or empty.
123123
* *`groupBy $containers $fieldPath`*: Groups an array of `RuntimeContainer` instances based on the values of a field path expression `$fieldPath`. A field path expression is a dot-delimited list of map keys or struct member names specifying the path from container to a nested value, which must be a string. Returns a map from the value of the field path expression to an array of containers having that value. Containers that do not have a value for the field path in question are omitted.

0 commit comments

Comments
 (0)