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

PropertyTypeRequiredDefaultDescription
CodeLanguagestringYesplaintextPossible values are: plaintext, yaml, xml, typescript, sql, go, markdown, html, json.
CodeOptionsobjectYes
OptionsobjectYes
TextModestringYesPossible values are: html, markdown, code.

CodeOptions

PropertyTypeRequiredDefaultDescription
languagestringYesplaintextPossible values are: plaintext, yaml, xml, typescript, sql, go, markdown, html, json.
showLineNumbersbooleanYesfalse
showMiniMapbooleanYesfalse

Options

PropertyTypeRequiredDefaultDescription
contentstringYes`# Title
For markdown syntax help: commonmark.org/help`
modestringYesPossible values are: html, markdown, code.
codeCodeOptionsNo