On this page
Get Involved
text
Display either rendered markdown (GitHub Flavored Markdown) or raw text with no interpretation of markup.
Text blocks can be declared as named resources at the top level of a mod, or they can be declared as anonymous blocks inside a dashboard or container, or be re-used inside a dashboard or container by using a text with base = <mod>.text.<text_resource_name>.
Example Usage
Argument Reference
Argument | Type | Optional? | Description |
---|---|---|---|
base | Text Reference | Optional | A reference to a named text resource that this text should source its definition from. title and width can be overridden after sourcing via base. |
title | String | Optional | A plain text title to display for this text. |
type | String | Optional | markdown (default) or raw. |
value | String | Optional | The markdown or html string to use. Can also be sourced using the HCL file function. |
width | Number | Optional | The width as a number of grid units that this item should consume from its parent. |