(text: string)
| 46 | } |
| 47 | |
| 48 | function heal(text: string) { |
| 49 | return remend(text, { linkMode: "text-only" }) |
| 50 | } |
| 51 | |
| 52 | export function stream(text: string, live: boolean): Block[] { |
| 53 | if (!live) return [{ raw: text, src: text, mode: "full" }] satisfies Block[] |