mirror of
https://github.com/grafana/grafana.git
synced 2025-08-03 01:12:22 +08:00

* Kindsys: Extend DocsJenny with support for 'allOf' * Update generated docs * Multiple refinements * Minor fixes * Undo undesired changes * Fix * Fix linter complains --------- Co-authored-by: Tania B <yalyna.ts@gmail.com>
3.9 KiB
3.9 KiB
keywords | title | ||
---|---|---|---|
|
TextPanelCfg kind |
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 | Description |
---|---|---|---|
CodeLanguage |
string | Yes | Possible values are: plaintext , yaml , xml , typescript , sql , go , markdown , html , json . Default: plaintext . |
CodeOptions |
object | Yes | |
PanelOptions |
object | Yes | |
TextMode |
string | Yes | Possible values are: html , markdown , code . |
CodeOptions
Property | Type | Required | Description |
---|---|---|---|
language |
string | Yes | Possible values are: plaintext , yaml , xml , typescript , sql , go , markdown , html , json . Default: plaintext . |
showLineNumbers |
boolean | Yes | Default: false . |
showMiniMap |
boolean | Yes | Default: false . |
PanelOptions
Property | Type | Required | Description |
---|---|---|---|
content |
string | Yes | Default: # Title<br/><br/>For markdown syntax help: [commonmark.org/help](https://commonmark.org/help/) . |
mode |
string | Yes | Possible values are: html , markdown , code . |
code |
CodeOptions | No |
CodeOptions
Property | Type | Required | Description |
---|---|---|---|
language |
string | Yes | Possible values are: plaintext , yaml , xml , typescript , sql , go , markdown , html , json . Default: plaintext . |
showLineNumbers |
boolean | Yes | Default: false . |
showMiniMap |
boolean | Yes | Default: false . |