2022.1

Table Of Contents
Tip
It is also possible to create a new HTML snippet from an existing piece of content in the
template; see "Using content to create an HTML snippet" on the next page.
Adding a snippet to a section
Each type of snippets is used differently; see "Adding an HTML snippet to a section" on the
next page, "Using a JSON snippet" on page781 and "Using Handlebars templates: examples"
on page784.
Editing a snippet
To edit a snippet, open the snippet file by double-clicking it on the Resources pane.
By default, an HTML snippet that is being used as shared content can also be modified in a
section where it is used. This behaviour can be changed; see "Editing a snippet" on the next
page
Renaming a snippet
To rename a snippet, right-click it on the Resources pane in the Snippets folder and select
Rename.
If you rename an HTML snippet that was inserted into a section as shared content, you need to
update the reference to the snippet manually; see "Renaming a snippet" on page780.
Translating a snippet
Snippets in a multilingual template get translated at the moment they are inserted in the output,
if the text is tagged for translation. For more information see "Translating templates" on
page993 and "Tagging text in snippets" on page996.
HTML snippets
HTML snippets can contain any contents that a section can have, such as text, images, variable
data, dynamic tables, etc. Just like other types of snippets, HTML snippets are stored in the
Page 778