Code Snippet

Creating a code snippet

Step 1

Expand to Section >> Chunk. In the Type drop-down menu, select Code Snippet.

Chunk type is Code Snippet

Step 2

In Section >> Chunk >> Details, choose the Position.

Select the position of the snippet

Step 3

Select the Snippet Type.

Add the code snippet type

Step 4

Enter the snippet in the Code field.

Example of code snippet

Step 5

Submit and Publish.