markdownDocument
Creates the atomic document consumed by the streaming Markdown renderer.
import { markdownDocument } from '@threadplane/chat';Declaration · overload 1
export declare function markdownDocument(content: string, delivery: MessageDelivery, suffix?: string): StreamingMarkdownDocument;Parameters
content· requiredstringdelivery· requiredMessageDeliverysuffix· optionalstring
Returns
StreamingMarkdownDocument