Replacement tokens are pieces of special code that allows your snippet to be customized dynamically by prompting user input.
Replacement tokens may have one of the following forms:
%[Prompt message]=[default value]%
The last one would result the following dialog box:
Replacement tokens that have equal prompt names ("SomeName" in the example below) , are prompted just once for the first replacement token value. Other tokens will get their values from the first one. See Examples for an example.
%[SomeName]% ..text.. %[SomeName]%
1) The following snippet allows you to insert custom hyperlink:
When inserting this snippet you are prompted to Enter URL and Enter link text.
<a href="%[Enter URL:]%">%[Enter link text:]=[Hello!]%</a>
2) The following snippet allows you to insert custom option element:
When inserting this snippet you are prompted to Enter ID just once, as value for the second replacement token is read from your first response on the prompt.
<option value="%[Enter ID]%">%[Enter ID]%</option>