| 611 | // unordered lists (* or - followed by space), HTML tags: <br>, <b>, <strong>, <i>, <em>, <code>, <a href=""> |
| 612 | // Links: [text](url), plain URLs (https://... http://...) |
| 613 | interface MarkdownContentProps { |
| 614 | text: string; |
| 615 | /** Custom class for @mentions. Defaults to "text-white" */ |
| 616 | mentionClassName?: string; |
| 617 | } |
| 618 | |
| 619 | export function MarkdownContent({ text, mentionClassName = 'text-white' }: MarkdownContentProps) { |
| 620 | const parts: React.ReactNode[] = []; |
nothing calls this directly
no outgoing calls
no test coverage detected