Skip to content

Commit 22699f5

Browse files
authored
Merge pull request #780 from willowlight/feature/variable-modifiers-json-options
Added undocumented parameters for :json variable modifier
2 parents b8b7005 + a1eaa10 commit 22699f5

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

docs/templates/variable-modifiers.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,11 @@ Make the content safe to use as the value of a form field.
113113

114114
### `:json`
115115

116+
| Parameter | Default | |
117+
| -------------------- | --------- | --------------------------------------------------------------------------------------------------------------------------- |
118+
| double_encode= | `yes` | Whether or not to double encode already-encoded entities, e.g. should `"` become `"`? | |
119+
| enclose_with_quotes= | `yes` | Whether the output is automatically enclosed in quotes |
120+
116121
Encode the content for JSON output.
117122

118123
"headline": {title:json},

0 commit comments

Comments
 (0)