> For clean Markdown content of this page, append .md to this URL. For the complete documentation index, see https://buildwithfern.com/learn/llms.txt.

## LLM 内容可见性标签

全新的 `<llms-only>` 和 `<llms-ignore>` 标签让您可以为 AI 助手提供额外的上下文，同时保持文档站点（面向人类读者）简洁且聚焦。

使用 `<llms-only>` 仅向通过 LLM 端点（如 `/llms.txt`）访问的 AI 助手显示内容，同时在文档站点中隐藏：

**`docs/getting-started.mdx`**

```jsx docs/getting-started.mdx
<llms-only>
  This technical context is only visible to AI assistants via LLM endpoints.
</llms-only>
```

使用 `<llms-ignore>` 仅在文档站点显示内容，同时将其排除在 LLM 端点之外：

**`docs/getting-started.mdx`**

```jsx docs/getting-started.mdx
<llms-ignore>
  <Callout intent="info">
    This callout appears on your documentation site but not in LLM endpoints.
  </Callout>
</llms-ignore>
```

阅读文档