Merge pull request #22993 from norwd/patch-1
Make two examples of `format(...)`consistent
This commit is contained in:
@@ -169,7 +169,11 @@ Replaces values in the `string`, with the variable `replaceValueN`. Variables in
|
||||
|
||||
#### Example
|
||||
|
||||
`format('Hello {0} {1} {2}', 'Mona', 'the', 'Octocat')`
|
||||
{% raw %}
|
||||
```js
|
||||
format('Hello {0} {1} {2}', 'Mona', 'the', 'Octocat')
|
||||
```
|
||||
{% endraw %}
|
||||
|
||||
Returns 'Hello Mona the Octocat'.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user