# Text Panel

* [Mode](#textpanel-mode)
  * [Markdown](#textpanel-markdown)
  * [HTML](#textpanel-html)
  * [Code](#textpanel-code)
* [Variables](#textpanel-variables)

The text panel enables you to directly include text or HTML in your dashboards. This can be used to add contextual information and descriptions or embed complex HTML.

***

### Mode <a href="#textpanel-mode" id="textpanel-mode"></a>

**Mode** determines how embedded content appears.

#### Markdown <a href="#textpanel-markdown" id="textpanel-markdown"></a>

This option formats the content as markdown.

#### HTML <a href="#textpanel-html" id="textpanel-html"></a>

This setting renders the content as sanitized HTML. If you require more direct control over the output, you can set the disable\_sanitize\_html flag which enables you to directly enter HTML.

#### Code <a href="#textpanel-code" id="textpanel-code"></a>

This setting renders content inside a read-only code editor. Select an appropriate language to apply syntax highlighting to the embedded text.

***

### Variables <a href="#textpanel-variables" id="textpanel-variables"></a>

Variables in the content will be expanded for display.

***
