Once a snippet is created, you can insert it into any article or category page using the merge code syntax, the toolbar (Markdown editor), the slash command (Advanced WYSIWYG editor and unified Editor), or the Insert menu (unified Editor). Snippets can also be translated so that when your articles are read in another language, the snippet content matches.
NOTE
The unified Editor is rolled out in phases and is currently available in projects created after November 23, 2026. Projects created earlier continue to use the Advanced WYSIWYG editor and the Markdown editor. We're working to make it available to all projects soon.
Not sure which editor you are using? Open any article in edit mode and check the label in the article header. It shows Unified Editor, Advanced WYSIWYG, or Markdown.
Insert a snippet into an article
Choose the method that matches your editor.
Using merge code syntax
Type the merge code directly in the Markdown editor or in the unified Editor's Markdown view. Best when you already know the snippet's merge code value.
Learn more →Using the toolbar
Browse or search for snippets from the Content tools icon in the toolbar. Works in the Markdown editor.
Learn more →Using the slash command
Type a slash command in the Advanced WYSIWYG editor or the unified Editor to open the snippet picker inline without leaving the keyboard.
Learn more →Using the Insert menu
Select the Insert (+) icon in the unified Editor toolbar and choose Snippets to insert a snippet.
Learn more →If you don't remember a snippet's name, go to Content tools () > Content resources > Snippets to browse the full list and copy its merge code, then come back to the article.
Using merge code syntax
Type the snippet's merge code value between double curly brackets directly in the content. The merge code syntax works in the Markdown editor and in the unified Editor's Markdown view, which you open with Markdown view (</>) in the article header.
Example: {{snippet.snippet name}}
The merge code must match exactly, including capitalization and spelling. A single character difference will prevent the snippet from rendering.
In the unified Editor's Markdown view, the short merge code you type is rewritten to its full Document360 Flavored Markdown (DFM) form. This is expected, and the snippet still renders.
In the unified Editor's Block view, merge code you type stays as plain text and does not insert the snippet. Use the slash command or the Insert menu instead.
In the unified Editor, a snippet always sits on its own line. If you insert a snippet in the middle of a sentence in Block view, the paragraph splits into the text before it, the snippet, and the text after it. If you type the merge code in the middle of a sentence in Markdown view, the article fails to save, so put a line break before and after the merge code.
In the Advanced WYSIWYG editor, the merge code syntax does not work. Insert snippets using the slash command instead.
Using the toolbar (Markdown editor)
- In the article editor, click the Content tools () icon in the toolbar.
- Select the snippet or use the Search snippets bar to narrow down by name.
- Select the snippet to insert it.
If the Insert as local copy toggle is on, the snippet content added to the article will remain unchanged even if the source snippet is modified or removed in the future.
Using the slash command (Advanced WYSIWYG & unified Editor)
Advanced WYSIWYG editor:
- Type
/snippetsto open the Snippets tool in the slash menu. - Use the Search snippet bar to find the snippet you want to insert.
- Hover over a snippet name to preview its full content.
- Click the snippet to insert it. The content is inserted inside a content block highlighted with a dotted outline, distinguishing it from the rest of the article.
- Click inside the snippet block to open the bubble menu.
| Option | Description |
|---|---|
| Dropdown | Switch to a different snippet. |
| Insert as text | Converts the snippet into static content. The snippet tag is replaced with its current text and future updates to the snippet will no longer apply. |
| Delete | Removes the snippet block from the article. |
Unified Editor:
- Place your cursor on an empty line.
- Type
/snippet, or type/and open the Content Resources tab, then select Snippet. The Insert snippet dialog opens. - Use the Search field to find the snippet, then select it in the list. Check its content in Snippet preview.
- (Optional) Turn on Insert as local copy.
- Select Insert.
The snippet's content appears in the article. When you hover over it, its name appears, so you can tell it apart from text you typed.
To change an inserted snippet, select the snippet block to open its menu.
| Option | Description |
|---|---|
| Replace | Replace the snippet with a different snippet. |
| Insert as text | Converts the snippet into static content. Future updates to the snippet will no longer apply. |
| Delete | Removes the snippet block from the article. |
Using the Insert menu (unified Editor)
In the unified Editor, you can also insert a snippet from the toolbar above the content.
- Place your cursor on an empty line where you want the snippet to appear.
- Select the Insert (+) icon in the toolbar.
- Select Snippets. The Insert snippet dialog opens.
- Use the Search field to find the snippet, select it, and select Insert.

If a snippet used in an article is deleted, the unified Editor shows its merge code name in braces in place of the content. Replace or remove it.
Fix an article that won't save after you add a snippet (unified Editor)
If the unified Editor shows an error when you save, check whether a snippet is in the middle of a sentence. Snippets are content blocks, so the unified Editor can't save one inside a line of text.
- Select Markdown view (</>) in the article header.
- Find the snippet's merge code in the sentence.
- Press Enter before and after the merge code, so it sits on its own line.
- Switch back to Block view and save the article again.
If you meant to show the snippet's text inside the sentence, type the text instead of inserting the snippet.
Translate snippets
You can create snippets in multiple languages so that when your articles are read in a specific language, the matching translated snippet content is displayed.
Global snippets cannot be translated. Only snippets created with a specific language scope support translation.
Translate a new snippet
- Navigate to Content tools () > Content resources > Snippets.
- Click Create.
- In the Create new snippet dialog, enter the snippet name and select the language. Click Create.
- In projects that use the Advanced WYSIWYG editor and the Markdown editor, the dialog also asks you to choose the editor for the snippet.
- In projects that use the unified Editor, there is no editor to choose. For Language, select Global or a specific language. Select a specific language if you plan to translate the snippet. The snippet opens in the unified Editor.
- From the Language dropdown at the top of the editor, select the language for the snippet.
- Enter the content in that language.
- Click the Translate to other languages dropdown, select the languages you want to translate into, and click Translate.
The default language is marked as Main. Translated languages show a green tick once translation is complete. You can manually switch to untranslated languages and add translations as needed.
- Click Save to save with all translations.
Translate an existing snippet
- On the Snippets page, click the name of the snippet you want to translate.
- Navigate to Translate to other languages, select the language, and click Translate.
- To translate into additional languages, select each one and click Translate.
- To overwrite an existing translation, click Translate again.
- To remove a translation for a specific language, click the More () icon and select Clear content from this language.
- Click Update to save.
Best practices
- Preview before inserting. In the Advanced WYSIWYG editor, hover over a snippet name in the slash menu to preview the full content before inserting.
- Use Insert as text with care. Converting a snippet to static text breaks the link to the source snippet. Future updates to the snippet will no longer apply to that instance.
- Translate before publishing. If your knowledge base is multilingual, add translations for new snippets before publishing articles that use them. A missing translation can display inconsistent or fallback content to readers.
- Use the slash command for faster insertion. In the Advanced WYSIWYG editor and the unified Editor, the slash command is often faster than navigating the toolbar, especially when you know part of the snippet name.
- In the unified Editor, always insert a snippet on its own line, so the article saves.
FAQ
Can I use variables inside snippets?
No. Using variables inside snippets is not supported. If you insert a variable within a snippet, it will not render correctly in the editor preview or in exported outputs such as PDF.
Why is a snippet always inserted on a new line?
Snippets are designed as content blocks that can contain multiple lines. They always start on a new line to maintain structure and clarity in the article. In the unified Editor, a snippet you insert in the middle of a sentence in Block view splits the paragraph around it. Merge code typed in the middle of a sentence in Markdown view stops the article from saving. To fix it, move the snippet onto its own line in Markdown view.
I typed a snippet's merge code and nothing appeared. Why?
Check three things. The merge code must match the snippet name exactly, including capitalization. You must type it in the Markdown editor or in the unified Editor's Markdown view; it does not work in the Advanced WYSIWYG editor. And in the unified Editor, it must sit on its own line.
Is there a character limit for snippet content?
No. There is no character limit for snippet body content. You can include as much text, formatting, images, tables, or other supported elements as needed. The only character limit is the Name field, which has a maximum of 50 characters.
Can I change the name of a snippet after it has been created?
No. The snippet name cannot be changed after creation. You can edit the content of a snippet at any time.
How many snippets can I create in one project?
You can create up to 200 snippets per project. Contact support if you need additional snippets.