> For the complete documentation index, see [llms.txt](https://gitbook.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://gitbook.com/docs/documentation/zh/creating-content.md).

# 创建内容

- [格式化你的内容](https://gitbook.com/docs/documentation/zh/creating-content/formatting.md): 使用上下文菜单或键盘快捷键，以多种方式格式化你的内容
- [行内内容](https://gitbook.com/docs/documentation/zh/creating-content/formatting/inline.md): 使用行内工具栏添加图片、链接、数学与 TeX 等内容
- [Markdown](https://gitbook.com/docs/documentation/zh/creating-content/formatting/markdown.md): 直接在编辑器中编写 Markdown，使用常见语法轻松创建内容
- [内容结构](https://gitbook.com/docs/documentation/zh/creating-content/content-structure.md): 创建页面、空间和集合
- [空间](https://gitbook.com/docs/documentation/zh/creating-content/content-structure/space.md): 将你创建和发布的内容组织到空间中
- [页面](https://gitbook.com/docs/documentation/zh/creating-content/content-structure/page.md): 添加页面、页面组或外部链接，并了解每个页面可用的选项
- [标签](https://gitbook.com/docs/documentation/zh/creating-content/content-structure/page/tags.md): 标签是可重复使用的标记，你可以将它们添加到页面和更新块中——此页面会告诉你如何创建、添加和管理标签
- [集合](https://gitbook.com/docs/documentation/zh/creating-content/content-structure/collection.md): 将你的空间组织到文件夹中
- [区块](https://gitbook.com/docs/documentation/zh/creating-content/blocks.md): 在内容中添加和编辑区块
- [段落](https://gitbook.com/docs/documentation/zh/creating-content/blocks/paragraph.md): 添加段落区块以插入格式化文本、行内图片等内容
- [标题](https://gitbook.com/docs/documentation/zh/creating-content/blocks/heading.md): 向页面添加标题区块，以组织内容并提升 SEO
- [无序列表](https://gitbook.com/docs/documentation/zh/creating-content/blocks/unordered-list.md): 添加无序列表区块以创建项目符号列表
- [有序列表](https://gitbook.com/docs/documentation/zh/creating-content/blocks/ordered-list.md): 向页面添加有序或编号列表
- [任务列表](https://gitbook.com/docs/documentation/zh/creating-content/blocks/task-list.md): 添加任务列表以显示可完成的任务
- [提示](https://gitbook.com/docs/documentation/zh/creating-content/blocks/hint.md): 向页面添加提示，以吸引读者关注某些重要信息。
- [引用](https://gitbook.com/docs/documentation/zh/creating-content/blocks/quote.md): 向页面添加引用区块，以突出显示你从其他地方添加的内容，或强调文本中的某一特定部分
- [代码块](https://gitbook.com/docs/documentation/zh/creating-content/blocks/code-block.md): 向页面添加代码块，以包含示例代码、配置、代码片段等内容
- [文件](https://gitbook.com/docs/documentation/zh/creating-content/blocks/insert-files.md): 管理并向你的空间添加文件，例如 PDF、视频、文档等
- [图片](https://gitbook.com/docs/documentation/zh/creating-content/blocks/insert-images.md): 向页面添加图片或图片库，为深色模式添加图片变体，并按需调整图片大小和对齐方式
- [嵌入 URL](https://gitbook.com/docs/documentation/zh/creating-content/blocks/embed-a-url.md): 通过 URL 将视频、音乐等内容直接嵌入页面
- [表格](https://gitbook.com/docs/documentation/zh/creating-content/blocks/table.md): 使用表格让信息更有条理，并使数据记录更轻松
- [卡片](https://gitbook.com/docs/documentation/zh/creating-content/blocks/cards.md): 通过一组卡片以更动态的方式展示信息——可带或不带图片
- [标签页](https://gitbook.com/docs/documentation/zh/creating-content/blocks/tabs.md): 添加标签页，这样你就可以展示大量相关信息，而无需创建一页很长、难以导航的页面
- [可展开内容](https://gitbook.com/docs/documentation/zh/creating-content/blocks/expandable.md): 向页面添加可展开区块，以缩短页面、隐藏较长内容或创建 FAQ
- [步骤引导](https://gitbook.com/docs/documentation/zh/creating-content/blocks/stepper.md): 向页面添加分步指南——非常适合指南、演练和技术故障排查流程
- [更新](https://gitbook.com/docs/documentation/zh/creating-content/blocks/updates.md): 向页面添加一个或多个更新——非常适合为你的站点添加变更日志
- [绘图](https://gitbook.com/docs/documentation/zh/creating-content/blocks/drawing.md): 在 GitBook 中创建绘图并将其添加到页面
- [数学与 TeX](https://gitbook.com/docs/documentation/zh/creating-content/blocks/math-and-tex.md): 当你想在文档中显示数学公式时，可向页面添加 mathTeX 区块
- [页面链接](https://gitbook.com/docs/documentation/zh/creating-content/blocks/page-link.md): 添加页面链接区块，以显示你空间中各页面之间的关系。
- [提示词](https://gitbook.com/docs/documentation/zh/creating-content/blocks/ti-shi-ci.md): 向页面添加提示词区块，以共享可重复使用的 AI 提示词
- [列](https://gitbook.com/docs/documentation/zh/creating-content/blocks/columns.md): 添加列，以在文档中创建不同的布局。
- [条件内容](https://gitbook.com/docs/documentation/zh/creating-content/blocks/conditional-content.md)
- [代码片段](https://gitbook.com/docs/documentation/zh/creating-content/blocks/snippets.md): 添加代码片段区块，以引用页面上的特定代码片段，并将其高亮为重要内容
- [AI 编码助手和 skill.md](https://gitbook.com/docs/documentation/zh/creating-content/ai-coding-assistants-and-skillmd.md): 使用 GitBook 官方的 skill.md 文件，为 Claude Code、Cursor 或 Codex 等 AI 编码助手提供 GitBook 功能和区块的知识
- [变量和表达式](https://gitbook.com/docs/documentation/zh/creating-content/variables-and-expressions.md): 创建可复用变量，以便在页面和空间中引用
- [可复用内容](https://gitbook.com/docs/documentation/zh/creating-content/reusable-content.md): 创建可在各个空间中使用的可复用内容区块，并在你更改某个实例时一次性全部更新
- [搜索内部内容](https://gitbook.com/docs/documentation/zh/creating-content/searching-your-content.md): 借助关键词搜索和 AI 驱动的智能搜索，更快找到你要找的内容
- [搜索与快速查找](https://gitbook.com/docs/documentation/zh/creating-content/searching-your-content/quick-find.md): 使用快速查找快速搜索并浏览你的文档
- [GitBook AI](https://gitbook.com/docs/documentation/zh/creating-content/searching-your-content/gitbook-ai.md): GitBook 使用 AI 帮助你更快地在组织内部找到所需知识
- [版本控制](https://gitbook.com/docs/documentation/zh/creating-content/version-control.md): 跟踪更改、还原到先前版本等


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://gitbook.com/docs/documentation/zh/creating-content.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
