---
title: "Using snippets"
slug: "snippets"
description: "Snippet is a predefined set of content blocks the content manager or author identifies as reusable content."
tags: ["Content reuse", "Snippet"]
updated: 2026-05-13T11:01:43Z
published: 2026-05-13T11:04:47Z
---

> ## Documentation Index
> Fetch the complete documentation index at: https://docs.document360.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Using snippets

**Snippets** are predefined, reusable content blocks that can include simple text, phrases, long paragraphs, tables, images, and more. In Document360, snippets are stored and can be inserted into articles with a single click during editing. They use transclusion, meaning the content is referenced from one source instead of copied into multiple places. As a result, any updates made to a snippet are automatically reflected across all articles where it is used, helping maintain consistent and up-to-date content throughout your knowledge base.

> [!NOTE]
> ** NOTE
> 
> The Snippet will appear as regular content to the reader on the Knowledge base site. The reader will not know that the content was rendered through Snippet.

---

## Duplicate content detection banner

To help identify and manage duplicate text across your documentation, a new **Duplicate content detection** banner is available at the top of the **Snippets**page.

This feature, powered by Eddy AI, is available only for **Enterprise plan**customers. It scans your project for paragraphs that appear multiple times across articles. Once the scan is complete, the system generates a detailed report showing where duplicate content exists and suggests converting it into reusable snippets.

![Overview of content reuse tools including snippets, templates, and glossary options.](https://cdn.document360.io/860f9f88-412e-4570-8222-d5bf2f4b7dd1/Images/Documentation/image-1768554559241.png)

### Detecting duplicate content

1. Click **Find duplicates** on the banner to start scanning your project for duplicate content.
2. Once the scan is completed, the total number of duplicate text blocks detected will be displayed.
3. If a scan has already been performed, click **Scan again** to re-run the process.
4. Click **Review suggestions** to open the**Duplicate Content Detection** report and review the findings.

> [!NOTE]
> ** NOTE
> 
> For more information read the article on [Duplicate content detection](/help/docs/content-duplication-detection).

---

## Creating a snippet

To create a new snippet:

1. Navigate to **Content tools** (![Content tools icon](https://cdn.document360.io/860f9f88-412e-4570-8222-d5bf2f4b7dd1/Images/Documentation/Content%20tools.png)) in the left navigation bar in the **Knowledge base portal**.
2. In the left navigation pane, navigate to **Content resources** > **Snippets**.

The **Snippets** page appears. If you have added any snippets earlier, you can see them listed here.
3. Click **Create** at the top right.
4. In the **Create new snippet** dialog:
  1. Enter a **Name** (up to 50 characters). You can use letters, numbers, hyphens, and underscores.
  2. Choose a **Language** (default is Global). You can select a specific language if needed.
  3. Expand the **Advanced** dropdown and choose your editor (**Markdown** or **Advanced WYSIWYG**). The default editor is based on your general project settings.
5. Click **Create**.

![Creating a new snippet with options for name, language, and editor type.](https://cdn.document360.io/860f9f88-412e-4570-8222-d5bf2f4b7dd1/Images/Documentation/Create%20new%20snippet.png)

Once created:

1. Use the selected editor to enter your snippet content.
  1. If using **Markdown**, the Markdown editor appears.

![Disclaimer about documentation, indicating reference purposes and potential changes in product experience.](https://cdn.document360.io/860f9f88-412e-4570-8222-d5bf2f4b7dd1/Images/Documentation/Snippet%20-%20Markdown.png)
  2. If using **Advanced WYSIWYG**, the editor toolbar, code view, Eddy AI summary generator, and Eddy AI FAQ generator are available.

![Documentation disclaimer explaining potential changes in product features and user experience.](https://cdn.document360.io/860f9f88-412e-4570-8222-d5bf2f4b7dd1/Images/Documentation/Snippet%20-%20Advanced%20WYSIWYG.png)

> [!NOTE]
> ** NOTE
> 
> - Once you select the **Advanced WYSIWYG editor**, you cannot switch back to **Markdown**.
> - If you start with **Markdown**, you can convert to **Advanced WYSIWYG** for translation purposes (as Markdown doesn't support Translate with Eddy AI). Then you cannot change back to Markdown.

1. You can switch language from the language dropdown at the top.
2. After drafting your snippet, click **Save**or press `Ctrl + S` to use the shortcut.

> [!NOTE]
> ** NOTE
> 
> Formatting options
> 
> - You can apply formatting to your snippet content using the toolbar:
>   - **Markdown editor**: For formatting help, read the article on the [Markdown editor](/docs/markdown-editor-overview).
>   - **Advanced WYSIWYG editor**: For a complete list of features, read the article on the [Advanced WYSIWYG editor](/docs/advanced-wysiwyg-editor).
> - You can use custom HTML in the Code views. However, unsupported tags will be sanitized automatically.
> - Selecting the Advanced WYSIYWG editor, you can use the **Slash**menu in the Snippet editor to access formatting tools such as Heading 2, Heading 3, Heading 4, Numbered list, Multi-level list, Bullet list, Checklist, Inline code, and Code block, and you can also insert elements like Image, Video, Link, Table, Divider, Accordion, Callout, Tabs, FAQs, LaTeX, and Emoji.

### Using Eddy AI in Snippet content

While drafting a snippet, you can hover over the desired content and use Eddy AI to make the text longer or shorter, improve it, change the tone, convert speech, change the voice, split sentences, or generate elements such as tables, pie charts, and flowcharts.

From the bottom-right corner, you can also access Eddy AI’s Generator FAQ and Generator summary (the summary option is available only for English-language snippets).

![Document360 interface showcasing content tools and AI features for knowledge base management.](https://cdn.document360.io/860f9f88-412e-4570-8222-d5bf2f4b7dd1/Images/Documentation/image-1768555446066.png)

---

## Inserting a snippet in the article

You can insert a snippet in the articles in two ways:

**Method 1**: Using the syntax (Markdown editor)

**Method 2:** Using the toolbar (Markdown and WYSIWYG)

**Method 3**: Using the Slash menu (Advanced WYSIWYG editor)

Method 1Method 2Method 3

In the Markdown editor, type a **snippet.MergeCodeValue**between closed double curly brackets.

> **Example**: {{snippet.snippet name}}

You must know the exact merge code value to add the desired snippet. The snippet will not work even if a single letter changes.

> [!NOTE]
> ** NOTE
> 
> Typing in *snippet.Merge_Code_Value* will only work in the Markdown editor. If you are using Advanced WYSIWYG editor, you can insert snippet using the toolbar.

To insert a snippet from the editor toolbar:

1. Click the **Content reuse**(**) icon for Markdown and WYSIWYG editor.
2. Select the snippet or use the **Search snippets** bar to narrow down the snippet name.
3. Select the intended snippet to insert.

> [!NOTE]
> ** NOTE
> 
> If the **Insert as local copy**toggle is on, the snippet content added to the article will remain unchanged. The snippet in the article will not be affected if the selected snippet's content is modified or removed in the future.

![Markdown editor interface showcasing content reuse and document management features.](https://cdn.document360.io/860f9f88-412e-4570-8222-d5bf2f4b7dd1/Images/Documentation/image-1768559949127.png)

To insert a snippet from the slash menu:

1. Use the slash command `/snippets` to open the Snippets tool in the slash menu.
2. Use the **Search snippet** bar to find the snippet you want to insert.
3. Hover over a snippet name to preview its full content.

![](https://cdn.document360.io/860f9f88-412e-4570-8222-d5bf2f4b7dd1/Images/Documentation/Snippet%20-%20Slash%20command.png)
4. Click the snippet to insert it into the article.

The content of the snippet will be directly inserted inside the editor within a content block highlighted with a dotted outline. This helps distinguish the content of the snippet from the rest of the article.
5. Click inside the snippet block to open the bubble menu:
  1. Use the **dropdown**to switch to a different snippet.
  2. Click **Insert as text** to convert the snippet into static content.
  3. Click the **Delete** (**) icon to remove the snippet block from the article.

![](https://cdn.document360.io/860f9f88-412e-4570-8222-d5bf2f4b7dd1/Images/Documentation/Snippet%20-%20Edit%20options.png)

---

## Viewing snippet usage (article/category dependency)

To view where a snippet is used:

1. In the **Used in** column, click **View**.
2. The **View references** panel appears. You’ll see:
  - The article version.
  - The project workspace and language.
  - The user name and profile picture of the user who added the snippet.
  - The article states (Draft and Published).
  - The time/date information when the snippet was inserted in the article/category page.
  - Click the ** icon to open the same article version in a new tab.

![Document360 interface showing snippets and article revision details with highlighted elements.](https://cdn.document360.io/860f9f88-412e-4570-8222-d5bf2f4b7dd1/Images/Documentation/image-1768556474352.png)

---

## Editing a snippet

To edit a snippet:

1. Navigate to **Content tools** (![Content tools icon](https://cdn.document360.io/860f9f88-412e-4570-8222-d5bf2f4b7dd1/Images/Documentation/Content%20tools.png)) in the left navigation bar in the **Knowledge base portal**.
2. In the left navigation pane, navigate to **Content resources** > **Snippets**.

The **Snippets** page appears. You can find the list of snippets you have already added.
3. Hover over the snippet you want to edit and click the **Edit**(**)****icon.
4. Update the content as needed.
5. Click **Update**.

> [!NOTE]
> ** NOTE
> 
> When you update a snippet, the changes are automatically reflected in all articles and category pages where it’s used, including published ones, without needing to republish them.

![Document360 interface showing snippets management and content tools for documentation.](https://cdn.document360.io/860f9f88-412e-4570-8222-d5bf2f4b7dd1/Images/Documentation/image-1768555533115.png)

---

## Deleting a snippet

To delete a snippet:

1. Navigate to **Content tools** (![Content tools icon](https://cdn.document360.io/860f9f88-412e-4570-8222-d5bf2f4b7dd1/Images/Documentation/Content%20tools.png)) in the left navigation bar in the **Knowledge base portal**.
2. In the left navigation pane, navigate to **Content resources** > **Snippets**.

The **Snippets** page will appear. You can find the list of snippets you have already added.
3. Hover over the desired snippet and click the **Delete** (**) icon.
4. Click **Yes**in the **Delete** confirmation dialog.
5. To bulk delete multiple snippets, select multiple intended snippets from the Snippets page and click the **Delete**(**) option at the top of the list.

> [!NOTE]
> ** NOTE
> 
> - When you delete a snippet, it is removed from all articles where it is referenced.
> - The article retains its current version.
> - On the knowledge base site, the surrounding content adjusts so no empty space is left where the snippet was removed.
> - In the portal, a loading symbol appears in the content block where the snippet was removed. You can select this block to insert another snippet or delete the block manually.

![Document360 interface showing snippets management with delete option highlighted.](https://cdn.document360.io/860f9f88-412e-4570-8222-d5bf2f4b7dd1/Images/Documentation/image-1768556429860.png)

---

## Translating snippets

You can create snippets in multiple languages to ensure localization across your Knowledge base.

> [!NOTE]
> ** NOTE
> 
> Global snippets cannot be translated.

### Translating new snippets

To translate a new snippet while creating:

1. Navigate to **Content tools** (![Content tools icon](https://cdn.document360.io/860f9f88-412e-4570-8222-d5bf2f4b7dd1/Images/Documentation/Content%20tools.png)) in the left navigation bar in the **Knowledge base portal**.
2. In the left navigation pane, navigate to **Content resources** > **Snippets**.
3. Click **Create**.
4. In the **Create new snippet** dialog, enter the snippet name, select the desired language, and choose your preferred editor.
5. Click **Create.**
6. In the **Language**dropdown, select the intended language for the snippet.
7. Enter the content in your desired language.
8. To translate the content into other languages, click the **Translate to other languages** dropdown.
9. Select the desired languages from the list and click **Translate**.

> [!NOTE]
> ** NOTE
> 
> - The default language will be marked as **Main**.
> - Translated languages will show a green tick (✔) once translation is complete.
> - You can manually switch to untranslated languages and add translations as needed.

1. Click **Save** to save it with all translations.

> For example, if you create a snippet for a welcome message in English, you can use the translation feature to add the same message in French, Spanish, Dutch, etc.

![Contact options including email, live chat, and help center for support inquiries.](https://cdn.document360.io/860f9f88-412e-4570-8222-d5bf2f4b7dd1/Images/Documentation/Snippet%20-%20Translation.png)

---

### Translating existing snippets

1. From the **Snippets**page, click the desired existing snippet you wish to translate.
2. Navigate to **Translate to other languages** and select the desired language that the snippet needs to be translated.
3. Click **Translate**.
4. If needed, you can navigate to other languages and again translate into those languages.
5. To translate the content again, click **Translate again**. This will overwrite the existing translation with a new one.
6. If you need to remove the translated snippet for a specific language, click the **More**(**) icon and select **Clear content from this language**.

You can retranslate the content at any time if needed.

![Support contact options including email, live chat, and help center for assistance.](https://cdn.document360.io/860f9f88-412e-4570-8222-d5bf2f4b7dd1/Images/Documentation/Snippet%20-%20Remove%20translation.png)

---

## Troubleshooting

### Snippets are not appearing in the editor menu

This issue typically occurs when a snippet is created in one language but used in an article written in a different language. In Document360, snippets are language-specific unless created under the **Global** language setting.

**Steps to resolve:**

- Ensure the snippet is created in the same language as the article you're working on.
- If the snippet was created in a different language, use the **Translate to other languages** option available in the Content reuse section.
- Once translated, switch to the desired language in the article editor. The snippet should now appear when you try to insert it into the article.

> [!NOTE]
> ** NOTE
> 
> Snippets created under a specific language will only appear in articles written in that same language.

If the snippets are still not appearing after following the above steps, please contact [**support@document360.com**](mailto:support@document360.com) with the following details:

- A screenshot of the snippet in the Content reuse section.
- A screenshot showing the snippet not appearing in the article editor..

---

### FAQ

#### How many snippets can be created in one project?

You can create up to 200 snippets in a single project. If you need more, additional snippets can be purchased as an add-on.

#### Can I change the name of a snippet after it has been created?

While you can edit the contents of a snippet, its name cannot be changed after creation.

#### Why is a snippet inserted in a new line?

Snippets are designed as new blocks of content, allowing for multiple lines to be added within them. As such, they will always start from a new line to maintain structure and clarity.

#### Can I use variables inside snippets?

Currently, using variables inside snippets is not supported in Document360. If you insert a variable within a snippet, it will not render correctly either in the editor preview or in exported outputs (such as PDF).

The most feature-rich editor in Document360, combining visual rich-text editing with Markdown support. Unlike the basic WYSIWYG editor, it supports LaTeX for mathematical expressions, advanced table controls, and HTML view. Best suited for teams who need formatting flexibility without switching to a dedicated Markdown workflow.

## Related

- [Variables](/variables.md)
- [Templates](/article-templates.md)
