AI Integration Quick Reference
AI Integration Quick Reference
Overview
The Text plugin handles messages of typetext in category message. It renders formatted text with support for @mentions, clickable URLs, and markdown syntax (bold, italic, strikethrough, code, blockquotes, lists).
Live Preview — interact with the text message bubble.Open in Storybook ↗
Bubble Rendering
The text bubble displays the message text after running it through the formatter pipeline:- Markdown —
**bold**,_italic_,~~strike~~,`code`,> blockquote, lists - Mentions —
<@uid:xxx>tokens → styled@DisplayNamechips - URLs — bare URLs → clickable links with
target="_blank"
disableTruncation in the plugin context).
Context Menu Options
Conversation Preview
Returns the message text with markdown stripped and mentions resolved to display names. Example:@John: Check the **docs** → @John: Check the docs
Text Formatters
The text plugin provides three built-in formatters viagetTextFormatters():
Formatters run in priority order (lower = first). Each receives the output of the previous formatter.
For custom formatters, see Text Formatters.