Files
grafana/docs/sources/developers/kinds/composable/textpanelcfg/schema-reference.md
Selene f3c0bc0749 [v10.0.x] kindsys: Adapt to new PanelCfg schema interface (#69892)
kindsys: Adapt to new PanelCfg schema interface (#65297)

* kindsys: Adapt to new PanelCfg schema interface

* building locally

* Remove Panel prefix in cue files

* Regenerate

* Update imports

* fixup! Merge branch 'remove-panel-prefix' into sdboyer/redundant-panelcfg-prefixes

* Fix formatting

---------

Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
Co-authored-by: Tania B <yalyna.ts@gmail.com>
(cherry picked from commit 33fd83f7e3)

# Conflicts:
#	docs/sources/developers/kinds/core/dashboard/schema-reference.md
#	docs/sources/developers/kinds/core/folder/schema-reference.md
#	kinds/dashboard/dashboard_kind.cue
#	packages/grafana-schema/src/raw/dashboard/x/dashboard_types.gen.ts
#	pkg/kinds/dashboard/dashboard_spec_gen.go
#	pkg/kinds/folder/folder_status_gen.go

Co-authored-by: sam boyer <sdboyer@grafana.com>
2023-06-12 06:30:00 -04:00

3.4 KiB

keywords, title
keywords title
grafana
schema
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 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