To add a snippet to your content, you'll need to add its Merge Code Value, which is a value in double curly brackets, like {{snippet.mySample}}.
Add snippets to:
- Articles: Use the editor control to Insert > Snippet to quickly add snippets to articles. Refer to the instructions below.
- Categories: For custom content categories, use the editor control to Insert Snippet to quickly add snippets to articles. Refer to the instructions below.
- If you need to add a snippet to a category description or meta description, you'll need to manually copy the merge code value to enter it.
- Customize > Style (Custom HTML & CSS) > Customize HTML, CSS, and JS > Custom HTML: Manually copy the merge code value and paste it into any Custom HTML template.
- Add snippets to Custom HTML > Body to display their content everywhere, like a footer or copyright statement.
- Add snippets to Custom HTML > Article to add them to all articles.
Add snippets to articles or categories to add reusable text or code to them.
The information below varies based on whether you're using our 2026 new editor or old editor.
To figure out which instructions to follow:
- Open any article for editing.
- If the lefthand navigation is collapsed and there's a link near the top of the page to Switch to old editor, follow the New editor documentation.
- If the lefthand navigation is expanded and the top of the editor and the righthand column have a heavier grey background, follow the Old editor documentation.
Here are side-by-side examples of the new editor and the old editor:
Sample New editor
Sample Old editorTry out the new editor
We'd love your feedback on the new editor. To switch to the new editor, open any article for editing and select the Switch to new editor link at the top of the editor.
To add a snippet in the new article editor:
- Open the article for editing.
- In the editor toolbar controls, select Insert > Snippet. The Add Snippet modal opens.
- Enter part of the snippet's name; the window will autosuggest snippets as you type.
- Select the suggestion that matches it. Once you select a snippet, the Snippet Description and the first few lines of Snippet Content display so you can be sure you've selected the correct snippet. (No Description displays if the snippet you've entered doesn't have one.)
- Once you're sure you've selected the correct snippet, select Insert Snippet. This closes the modal and inserts the snippet's Merge Code into your article, like this:
Lorem ipsum dolor sit amet, duo utamur copiosae torquatos ad, sale virtute vituperata ne cum, id quo aliquando adolescens argumentum. {{snippet.copyrightInfo}} - Once you Save your changes, a reader will see the body of the snippet (if it's text) or the results of the code in it. For example, here's our copyright Info snippet:
Copyright © 2015 – 2026 Silly Moose, LLC. All rights reserved.
These documents are a static export of a dynamic knowledge base. For the most up-to-date information, head to our knowledge base.
To add a snippet in the old article editor or the custom content category editor:
- Select the Insert Snippet control (two gear cogs icon) from the editor toolbar:
The Add Snippet modal opens.
The Insert Snippet control in the editor - Enter part of the snippet's name; the window will autosuggest snippets as you type.
- Select the suggestion that matches it. Once you select a snippet, the Snippet Description and the first few lines of Snippet Content display so you can be sure you've selected the correct snippet. (No Description displays if the snippet you've entered doesn't have one.)
- Once you're sure you've selected the correct snippet, select Insert Snippet. This closes the modal and inserts the snippet's Merge Code into your article, like this:
Lorem ipsum dolor sit amet, duo utamur copiosae torquatos ad, sale virtute vituperata ne cum, id quo aliquando adolescens argumentum. {{snippet.copyrightInfo}} - Once you Save your changes, a reader will see the body of the snippet (if it's text) or the results of the code in it. For example, here's our copyright Info snippet:
Copyright © 2015 – 2026 Silly Moose, LLC. All rights reserved.
These documents are a static export of a dynamic knowledge base. For the most up-to-date information, head to our knowledge base.
While snippets are most often used in articles and categories, they can also be used in Customize > Style to add functionality or text to your knowledge base theme.
The two most common ways to use snippets in your theme are:
- Custom HTML > Body: Add snippets here to display their content everywhere, like a footer or copyright statement.
- Custom HTML > Article: Add snippets here to add them to all articles.
To add a snippet to your knowledge base theme:
- In the lefthand navigation, go to Snippets.
- Open the snippet you want to add to your theme.
- Copy the snippet's Merge Code Value which should be in double curly brackets, like:
{{snippet.mySample}}. - Go to Customize > Style (HTML & CSS).
- In the Customize HTML, CSS, and JS section, select Custom HTML.
- Select the HTML template you want to edit using the Select HTML section to edit dropdown.
- Paste the snippet's Merge Code Value wherever you'd like it to appear. For snippets that don't add text, add them anywhere on the page. (When all else fails, paste them at the bottom of the pane!)
- Be sure to Save your changes.
