nandi/oripublic Fork 0
76d62ac0da1600e1c208017584c3fa22e54feaa3
Commits
Clone
git clone https://git.rickub.com/nandi/ori.git
git clone ssh://git@rickub.com/nandi/ori.git

Host key fingerprint (ed25519): SHA256:iycHnxEyq0Q7uyVpB7JlznP0G7JrTPXLYRcAU5CSLhc — verify it before your first connect.

forked from bots-garden/ori

Markdown.tsx · 19 lines · 521 BTypeScript Blame HistoryRaw
✨ Introduce new feature(s): ACP web client — Go backend (agent, bridge, httpserver, mockagent) + React SPA (Zed-like agent panel), tests, quality gate PASS 2434cc7 k33g 2d ago1/**
2 * Markdown renders agent text (GitHub-flavoured: tables, task lists, ...).
3 * Kept as the single markdown entry point so styling and plugins stay
4 * consistent everywhere agent content appears.
5 *
6 * @example
7 * <Markdown text="**bold** and `code`" />
8 */
9
10import ReactMarkdown from "react-markdown";
11import remarkGfm from "remark-gfm";
12
13export function Markdown({ text }: { text: string }) {
14 return (
15 <div className="markdown">
16 <ReactMarkdown remarkPlugins={[remarkGfm]}>{text}</ReactMarkdown>
17 </div>
18 );
19}