Menu
Grafana Cloud
Enterprise
Open source
Both documentation generation and kinds schemas are in active development and subject to change without prior notice.
TextPanelCfg
Maturity: experimental
Version: 0.0
Property | Type | Required | Default | Description |
---|---|---|---|---|
CodeLanguage | string | Yes | plaintext | Possible values are: plaintext , yaml , xml , typescript , sql , go , markdown , html , json . |
CodeOptions | object | Yes | ||
Options | object | Yes | ||
TextMode | string | Yes | Possible values are: html , markdown , code . |
CodeOptions
Property | Type | Required | Default | Description |
---|---|---|---|---|
language | string | Yes | plaintext | Possible values are: plaintext , yaml , xml , typescript , sql , go , markdown , html , json . |
showLineNumbers | boolean | Yes | false | |
showMiniMap | boolean | Yes | false |
Options
Property | Type | Required | Default | Description |
---|---|---|---|---|
content | string | Yes | `# Title | |
For markdown syntax help: commonmark.org/help` | ||||
mode | string | Yes | Possible values are: html , markdown , code . | |
code | CodeOptions | No |
Was this page helpful?
Related resources from Grafana Labs
Additional helpful documentation, links, and articles:

Getting started with the Grafana LGTM Stack
In this webinar, we’ll demo how to get started using the LGTM Stack: Loki for logs, Grafana for visualization, Tempo for traces, and Mimir for metrics.

Getting started with Grafana dashboard design (EMEA Timezone)
In this webinar, you'll learn how to design stylish and easily accessible Grafana dashboards that tell a story.

Unify your data with Grafana plugins: Datadog, Splunk, MongoDB, and more
In this webinar, learn how to leverage Grafana's plugin ecosystem for access to 80+ data sources, including plugins for Datadog, Splunk, MongoDB, and more.