Snippet Syntax Delimiter Characters

When creating snippets we can use “[” and “]” to designate placeholders for entry when the snippet is consumed. Is there a delimiter character we can use so that the square bracket is preserved as part of the template when it is used? something like:

Script1.Function1([ [fieldName],[fieldValue] ])

This is to be able to show implementation of nested lists in function calls.

many thanks

Yes. I don’t believe it’s documented (so we should probably see about adding this information), but you can use the special Unicode characters ⦋ and ⦌ (left and right square bracket with underbar) which will be replaced by regular square brackets when the code is inserted.

1 Like