mirror of
https://github.com/grafana/grafana.git
synced 2025-09-25 18:53:58 +08:00

* refactors config panels and visualizations, corrects relrefs * adds an alias * Remove some old content * moves visualizations topic to the root * moves out panels and visualization topics to the root * adds move and resize panel to add/organize panel; creates a create dashboard topic under build dashboards; adjusts context of add a panel to be from within an existing dashboard * updates aliases * creates search at root, moves dashboard preview to search, creates standalone search dashboard topic * moves Set dashboard time range to use-dashboards, creates modify dashboard settings and adds moves Modify dashboard time settings to that topic * moves existing query-options topic from working with panels to configure-panel-visualizations, moves panel time overrides and timeshift content to query options * Moving things to better category, fixing links, improving ordering * Move panel inspector to main panel topic * completes partial fix of relrefs * relref fixes con't * restructures remaining panels topics * more relref fixes * Minor fix * Minor tweak * finishes fixing relrefs Co-authored-by: Torkel Ödegaard <torkel@grafana.com> Co-authored-by: Jack Baldry <jack.baldry@grafana.com>
42 lines
1.4 KiB
Markdown
42 lines
1.4 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/
|
|
- /docs/grafana/latest/panels-visualizations/visualizations/text/
|
|
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.
|