← Cloudflare Realtime / realtime / realtimekit / ui-kit / api-reference / core
rtk-markdown-view
Properties
| Property | Type | Required | Default | Description |
|---|---|---|---|---|
maxLength |
number |
✅ | - | max length of text to render as markdown |
text |
string |
✅ | - | raw text to render as markdown |
Usage Examples
Basic Usage
<rtk-markdown-view></rtk-markdown-view>With Properties
<rtk-markdown-view
text="example">
</rtk-markdown-view><script>
const el = document.querySelector("rtk-markdown-view");
el.maxLength= 42;
</script>