## Fields

| Name                     | Type    | Description                                                                  | Options                            |
| ------------------------ | ------- | ---------------------------------------------------------------------------- | ---------------------------------- |
| Text                     | Text    | Add text directly, or reference state elements with @.                      | -                                  |
| Enable markdown          | Boolean | The Markdown output will be sanitised; unsafe elements will be removed.     | -                                  |
| Alignment                | Text    | -                                                                          | 1. Left<br>2. Center<br>3. Right   |
| Enable copy button       | Boolean | Enable a copy button that lets users to copy the contents in this field to their clipboard | -                                  |
| Primary text             | Color   | -                                                                          | -                                  |
| Custom CSS classes       | Text    | CSS classes, separated by spaces. You can define classes in custom stylesheets. | -                                  |

## Events

wf-click

Capture single clicks.

```
def click_handler(state):

# Increment counter when the text is clicked
    state["counter"] += 1
```
