> For the complete documentation index, see [llms.txt](https://docs.docbits.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.docbits.com/chinese/guan-li-yu-she-zhi/settings/global-settings/document-types/layout-manager/using-the-template-preview.md).

# 使用模板预览

## 模板预览是一个非常实用的工具，可用于实时检查和调整布局设置，然后再对文档或模板进行更改。

### 以下说明如何使用模板预览：

<figure><img src="https://1870485400-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlPczlNw8zzYNLfjfispX%2Fuploads%2Fgit-blob-44fdec0dce79596d852b9dff871539ce1b6ad2d3%2Fimage%20(253).png?alt=media" alt=""><figcaption></figcaption></figure>

#### 打开模板预览：

* 通常可以在模板编辑器界面中找到模板预览选项。

<figure><img src="https://1870485400-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlPczlNw8zzYNLfjfispX%2Fuploads%2Fgit-blob-0317b48b24120d77f4cad356b5f4984701102c31%2Fimage%20(254).png?alt=media" alt=""><figcaption></figcaption></figure>

#### 选择模板：

* 选择要检查其布局的模板。
* 可以选择要修改的现有模板，也可以选择要创建的新模板。

<figure><img src="https://1870485400-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlPczlNw8zzYNLfjfispX%2Fuploads%2Fgit-blob-0921d55b0837b697d3d51f66510a91ddac621d2f%2FBildschirmfoto%202024-05-24%20um%2012.31.04.png?alt=media" alt="" width="186"><figcaption></figcaption></figure>

#### 调整布局设置：

* 根据需要更改布局设置。这可能包括添加、移除或调整组、字段、列、行、字体等。

<figure><img src="https://1870485400-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlPczlNw8zzYNLfjfispX%2Fuploads%2Fgit-blob-cd6801f2eb8f3e4c808b0cf7224cf197663dc1bd%2Fimage%20(256).png?alt=media" alt="" width="271"><figcaption></figcaption></figure>

#### 实时预览：

* 更改布局设置时，预览会实时更新。
* 您可以立即查看更改对模板外观和结构的影响。

#### 交互式自定义：

* 检查预览中的实时效果，同时利用交互式自定义布局的功能，例如移动、调整元素大小或进行其他调整。

#### 测试不同的配置：

* 尝试不同的布局配置，找到最适合您需求的设计。
* 使用模板预览查看每项更改对最终外观的影响。

#### 保存并提交更改：

* 对布局满意后，保存更改。
* 根据软件的不同，您还可以找到直接提交更改的选项，以更新模板，供其他文档或流程使用。

使用模板预览可确保在提交更改之前，布局符合您的预期。这样，您就可以高效地自定义文档的设计和结构，并确保其符合预期的视觉和功能标准。


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.docbits.com/chinese/guan-li-yu-she-zhi/settings/global-settings/document-types/layout-manager/using-the-template-preview.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
