Skip to content

Commit

Permalink
Update components-stdlib.md
Browse files Browse the repository at this point in the history
  • Loading branch information
the-dipsy authored Mar 12, 2024
1 parent b067c0a commit 1332c76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/components-stdlib.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ Jinja is only invoked if at least one variable is passed as keyword argument.
Jinja expressions will be serialized before inserting them into the document.
You can therefore safely inject structured data into your JSON document without
worrying about breaking JSON syntax. To insert raw strings into your document,
use the *raw* filter as in `{"greeting": "Hello, \{{ name | raw }}!"}`.
use the *raw* filter as in `{"greeting": "Hello, {{{{ name | raw }}}}!"}`.

**Example:**
- Load and inject: `load.json(_/"file.json", name="Alice")`
Expand Down

0 comments on commit 1332c76

Please sign in to comment.