diff --git a/content/docs-ko/api/cookbook.md b/content/docs-ko/api/cookbook.md index 7aa7d71..e0adfc2 100644 --- a/content/docs-ko/api/cookbook.md +++ b/content/docs-ko/api/cookbook.md @@ -10,7 +10,7 @@ description: 인증, 작업, 생성, 업로드, Asset Library, Reference Analysi ## Setup ```bash -export SUME_API_KEY="sume_live_..." +export SUME_API_KEY="" export SUME_API_BASE_URL="https://www.sume.so/api/v1" ``` diff --git a/content/docs-ko/public-api.md b/content/docs-ko/public-api.md index fb1c615..ba761f9 100644 --- a/content/docs-ko/public-api.md +++ b/content/docs-ko/public-api.md @@ -20,7 +20,7 @@ https://www.sume.so/api/v1 서버 환경에서 워크스페이스 API 키를 전달하세요. ```bash -export SUME_API_KEY="sume_live_..." +export SUME_API_KEY="" curl https://www.sume.so/api/v1/me \ -H "Authorization: Bearer $SUME_API_KEY" diff --git a/content/docs/api/cookbook.md b/content/docs/api/cookbook.md index dd3e7c7..6637915 100644 --- a/content/docs/api/cookbook.md +++ b/content/docs/api/cookbook.md @@ -10,7 +10,7 @@ For exact fields and enums, use the [API reference](/api/reference) and ## Setup ```bash -export SUME_API_KEY="sume_live_..." +export SUME_API_KEY="" export SUME_API_BASE_URL="https://www.sume.so/api/v1" ``` diff --git a/content/docs/public-api.md b/content/docs/public-api.md index 1b56e14..929558e 100644 --- a/content/docs/public-api.md +++ b/content/docs/public-api.md @@ -21,7 +21,7 @@ All endpoint paths on this page are relative to that base URL. Send a workspace API key from a server-side environment: ```bash -export SUME_API_KEY="sume_live_..." +export SUME_API_KEY="" curl https://www.sume.so/api/v1/me \ -H "Authorization: Bearer $SUME_API_KEY" diff --git a/src/components/markdown-page.tsx b/src/components/markdown-page.tsx index 393e31e..f23abe0 100644 --- a/src/components/markdown-page.tsx +++ b/src/components/markdown-page.tsx @@ -3,6 +3,7 @@ import ReactMarkdown from "react-markdown"; import remarkGfm from "remark-gfm"; import { Anchor } from "@/components/anchor"; import { H2, H3, H4 } from "@/components/header"; +import { Pre } from "@/components/code-block"; type Props = { markdown: string; @@ -17,6 +18,7 @@ function MarkdownBlock({ markdown }: Props) { h2: H2 as any, h3: H3 as any, h4: H4 as any, + pre: Pre as any, }} > {markdown}