Calling Snippet

You can insert snippets in any template or another snippet.

You can do this using the code below:

<!--{call NAME()}-->

Where NAME is a unique snippet name.

Inserting snippet using Insert Snippet window

To insert snippet using the Insert Snippet window, you should:

  1. Open any template or snippet for editing.

  2. Set the cursor to the place in code where you want to insert a snippet.

  3. Click the Insert Snippet button on the Code Editor toolbar.

  4. In the Insert Snippet window, click on the snippet you want to insert.

The snippet will be inserted into the code.

Inserted snippet