Files
Christopher Moyer 7147d17567 Docs/refactors variables topics (#54470)
* refactor and partial relref fix

* finishes variables refactor

* Update docs/sources/variables/add-template-variables/index.md

Co-authored-by: Torkel Ödegaard <torkel@grafana.com>

* removes duplicate general options, adds links to general options within tasks

* adds configure variable selection options topic

* starts phase II of refactoring

* incorporates feedback, updates relrefs

* corrects final relrefs

* updates alias

Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
2022-09-09 08:38:17 -05:00

41 lines
1.3 KiB
Markdown

---
aliases:
- /docs/grafana/latest/features/panels/text/
- /docs/grafana/latest/panels/visualizations/text-panel/
- /docs/grafana/latest/reference/alertlist/
- /docs/grafana/latest/visualizations/text-panel/
keywords:
- grafana
- text
- documentation
- panel
title: Text
weight: 1100
---
# Text
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
**Mode** determines how embedded content appears.
### Markdown
This option formats the content as [markdown](https://en.wikipedia.org/wiki/Markdown).
### HTML
This setting renders the content as [sanitized](https://github.com/grafana/grafana/blob/code-in-text-panel/packages/grafana-data/src/text/sanitize.ts) HTML. If you require more direct control over the output, you can set the
[disable_sanitize_html]({{< relref "../setup-grafana/configure-grafana/#disable_sanitize_html" >}}) flag which enables you to directly enter HTML.
### Code
This setting renders content inside a read-only code editor. Select an appropriate language to apply syntax highlighting
to the embedded text.
## Variables
[Variables]({{< relref "../dashboards/variables/variable-syntax" >}}) in the content will be expanded for display.