diff --git a/docs/src/app/page.tsx b/docs/src/app/page.tsx index 7e5ab13..f9d3dd3 100644 --- a/docs/src/app/page.tsx +++ b/docs/src/app/page.tsx @@ -54,28 +54,15 @@ agent-browser close`} />
Daemon starts automatically and persists between commands.
| Platform | -Binary | -
|---|---|
| macOS ARM64 | Native Rust |
| macOS x64 | Native Rust |
| Linux ARM64 | Native Rust |
| Linux x64 | Native Rust |
| Windows x64 | Native Rust |
+ Native Rust binaries for macOS (ARM64, x64), Linux (ARM64, x64), and Windows (x64). +
); diff --git a/docs/src/components/code-block.tsx b/docs/src/components/code-block.tsx index ba101b3..7c1ef4f 100644 --- a/docs/src/components/code-block.tsx +++ b/docs/src/components/code-block.tsx @@ -1,4 +1,5 @@ import { codeToHtml } from "shiki"; +import { CopyButton } from "./copy-button"; interface CodeBlockProps { code: string; @@ -6,15 +7,16 @@ interface CodeBlockProps { } export async function CodeBlock({ code, lang = "bash" }: CodeBlockProps) { - const html = await codeToHtml(code.trim(), { + const trimmedCode = code.trim(); + const html = await codeToHtml(trimmedCode, { lang, theme: "github-dark-default", }); return ( - +