---
title: "text"
description: "Fields of a `text` panel."
---

> Documentation Index
> Fetch the complete documentation index at: https://slashobserve.com/llms.txt
> Use this file to discover all available pages before exploring further.

# text

## Example

```json
{
  "id": "p_html",
  "type": "text",
  "title": "Notes",
  "gridPos": {
    "x": 0,
    "y": 10,
    "w": 24,
    "h": 5
  },
  "content": "<p>Runbook for <b>checkout</b></p>",
  "mode": "html"
}
```

From [`spec/examples/decision9-features.json`](https://github.com/slashobserve/slashobserve/blob/main/spec/examples/decision9-features.json).

## Fields

| Field | Type | Description |
| --- | --- | --- |
| `id` (required) | `string` | Stable across versions; comments anchor to it. |
| `title` | `string` |   |
| `description` | `string` |   |
| `gridPos` (required) | `gridPos` | Position on the 24-column grid; x + w must not exceed 24. |
| `type` (required) | `"text"` |   |
| `transparent` | `boolean` |   |
| `content` (required) | `string` | Markdown, rendered sanitized. |
| `mode` | `"markdown"`, `"html"`, `"code"` | markdown (default): Markdown with sanitized inline HTML. html: sanitized HTML. code: the content shown as code. The agent never writes HTML. |
| `code` | `object` |   |

Generated from [`spec/schema/observespec.v0.json`](https://github.com/slashobserve/slashobserve/blob/bac0fe39/spec/schema/observespec.v0.json) at `bac0fe39`. [Report a problem](https://github.com/slashobserve/slashobserve/issues/new).
