Skip to content

Commit dac3015

Browse files
Update README.md
Co-authored-by: CodeShell <122738806+CodeShellDev@users.noreply.github.com>
1 parent d6ea5d0 commit dac3015

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -262,14 +262,13 @@ Returns global value at key.
262262
Defines a global function.
263263

264264
```
265-
funcDefine "name" "{{{ return 0 "Hello World" }}}"
265+
funcDefine "name" `
266+
{{{ return 0 "Hello World" }}}
267+
`
266268
```
267269

268270
The second argument is the template body, notice the `{{{ ... }}}` instead of `$​{​{​{ ... }​}​}`.
269271

270-
> [!WARNING]
271-
> You may need to escape some characters like `"` with `\`
272-
273272
Raw output is discarded only output via [`return`](#return) persists.
274273

275274
##### `return`

0 commit comments

Comments
 (0)