Response
Render model output as plain text or streamed Markdown with MDEx-backed sanitization.
Streaming Text
Reveal Styles
Use
reveal
to choose how newly received text appears. The parent LiveView still
owns the stream and marks it done with
streaming=false
. Reveal styles use a
small hook to smooth text that has already arrived.
Reveal Styles
Chunk
Word
Character
Markdown
Set
format="markdown"
for Markdown. Stream the value from the parent LiveView; the component
re-renders sanitized Markdown as each word arrives.
Markdown