---
title: "Use Variables in Topic Content"
id: "variables-1"
project: "ClickHelp User Manual"
url: "https://docs.clickhelp.com/articles/clickhelp-user-manual/variables-1"
updated: 2026-11-16T06:42:47Z
---

# Use Variables in Topic Content

Documentation index for AI tools: [/llms.txt](/llms.txt)
 
Variables are useful when you need to put some short piece of text to many places, and have a way to modify a text chunk in a centralized manner.
 
To achieve this, you can create a global variable through **Settings** ****→ **Single-Sourcing**→ **Variables**or a project variable through **Current Project**→ **Variables**and assign a value to the created variables.

To use a variable in a topic, switch to the **Insert** tab of the **Design mode**, click **Insert Variable**, and select a variable in the **Select a variable** input field. Then click **OK** to insert the variable.

![The Insert variable button in the Single-sourcing tab of the Ribbon bar](/resources/Storage/clickhelp-user-manual/Screenshots/using-variables-in-topic-content/insert-variable-ribbon-bar.png)
 
When using the **Source** mode, use this syntax to insert a variable:


```html
 <ch:var name="variableName" />
```
