{part.slice(1, -1)}
) : (
part
),
)}
>
);
}
/* ---------- code ---------- */
export function CodeBlock({ code, lang = "tsx", className, copyable = true }: { code: string; lang?: string; className?: string; copyable?: boolean }) {
const [html, setHtml] = useState{code.trim()}
)}
{example.description}
}A brief for your coding agent: the job, the rules that bind it, the data to replace and the code.