-
Notifications
You must be signed in to change notification settings - Fork 164
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Problem Statement
Sometimes content on a single line can be exceedingly long, while UIs rendering chat streams have limited size. Especially when streaming code this can cause inconsistent loading animations during token streams.
Proposed Solution
Add a print length similar to biome / prettier that adds line breaks to content during streaming
Alternatives Considered
No response
Use Case
import { Streamdown } from "streamdown";
export default function Page(markdown: string) {
return <Streamdown maxContentLength={200px}>{markdown}</Streamdown>;
}Priority
None
Contribution
- I am willing to help implement this feature
Additional Context
No response
brandonmcconnell
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request