- Description:
This key toggles whether CloudCannon will allow strings starting with an uppercase letter when parsing snippet parameters.
Setting this key to
truewill allow strings that begin with an uppercase letter in snippet parameter parsing.By default, this key is
false(i.e., strings starting with uppercase are not allowed unlessanyis enabled).- Appears in:
└── Snippet Format └── allowed_string_cases └── leading_upper- Type:
boolean- Examples:
In this example, we have configured snippet format to allow strings starting with an uppercase letter.
Copied to clipboard_snippets: example: snippet: <<example [[param]]>> params: param: parser: argument options: format: allowed_string_cases: leading_upper: true{ "_snippets": { "example": { "snippet": "<<example [[param]]>>", "params": { "param": { "parser": "argument", "options": { "format": { "allowed_string_cases": { "leading_upper": true } } } } } } } }