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

# Markdown

> The Markdown control works like a textbox control but has two modes: one for rendering Markdown and one for editing text. Shift-click to change mode.

```
Markdown(text="", options={}, blocktag=None)
```

# Example

```python theme={null}
from mirmod.controls import Markdown

@wob.receiver("value", "input", control=Markdown())
def receive_input(self, i):
  self.values = i
```

# Parameters

| Name     | Type   | Description                                          |
| -------- | ------ | ---------------------------------------------------- |
| text     | string | Initial text content. Default empty.                 |
| options  | dict   | JSON-serializable options dictionary. Default empty. |
| blocktag | string | Optional block tag identifier. Default None.         |
