diff --git a/content/actions/learn-github-actions/expressions.md b/content/actions/learn-github-actions/expressions.md index 40194ea6ff..16526d7b04 100644 --- a/content/actions/learn-github-actions/expressions.md +++ b/content/actions/learn-github-actions/expressions.md @@ -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'.