功能展示

API 文档块(多语言标签)

API block with language tabs

面向开发者,代码片段可切换

实时预览

提示词正文

Build a developer-facing API block with Tailwind CSS: a tabbed code panel switching between cURL, JavaScript, Python and Go snippets for the same endpoint, each snippet syntax-highlighted with a copy button. Put a small method-and-path chip (GET /v1/projects) above the code, a one-line description under it, and a response preview block below with its own copy button.

提示词保持英文原文——直接粘贴进 Claude、Cursor、v0 或任何 AI 编程工具即可使用。

怎么用

开发者区块的核心是“一键复制”;响应示例和请求示例都要给。

同类提示词 · 功能展示

© 2026 Genisource Vibe · 提示词详情