> ## Documentation Index
> Fetch the complete documentation index at: https://foliant-help.iforiti.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 模板编辑器

> 在 Foliant 的模板编辑器中创建和修改您的单据，可使用区块，也可使用 Liquid 代码。

您可以在模板编辑器中设计每份单据的打印内容。您可以在可视化编辑器中用区块搭建单据，也可以在代码编辑器中编辑它的 Liquid 和 HTML。

## 使用编辑器

1. [打开模板编辑器](https://foliant-help.iforiti.com/cn/template-editor/editor-overview.md)
2. [在可视化模式和代码模式之间切换](https://foliant-help.iforiti.com/cn/template-editor/visual-and-code-modes.md)
3. [编辑模板代码](https://foliant-help.iforiti.com/cn/template-editor/code-editor.md)
4. [预览、纸张尺寸和缩放](https://foliant-help.iforiti.com/cn/template-editor/preview-paper-and-zoom.md)
5. [添加水印或印章](https://foliant-help.iforiti.com/cn/template-editor/watermarks.md)
6. [保存更改并发布](https://foliant-help.iforiti.com/cn/template-editor/save-and-publish.md)
7. [可视化编辑器适用的套餐](https://foliant-help.iforiti.com/cn/template-editor/visual-editor-plans.md)

## 可视化编辑器

8. [添加、移动和删除区块](https://foliant-help.iforiti.com/cn/template-editor/add-and-arrange-blocks.md)
9. [区块参考](https://foliant-help.iforiti.com/cn/template-editor/block-catalogue.md)
10. [设置区块的样式和位置](https://foliant-help.iforiti.com/cn/template-editor/block-style-and-layout.md)
11. [页眉和页脚](https://foliant-help.iforiti.com/cn/template-editor/page-header-and-footer.md)
12. [仅对部分订单显示区块](https://foliant-help.iforiti.com/cn/template-editor/block-conditions.md)
13. [单据样式](https://foliant-help.iforiti.com/cn/template-editor/document-styles.md)
14. [上传字体和图片](https://foliant-help.iforiti.com/cn/template-editor/fonts-and-images.md)
15. [已保存的区块和共享部分](https://foliant-help.iforiti.com/cn/template-editor/saved-blocks-and-shared-sections.md)
16. [以 JSON 格式导出和导入区块](https://foliant-help.iforiti.com/cn/template-editor/export-import-blocks.md)
17. [用 AI 描述更改](https://foliant-help.iforiti.com/cn/template-editor/describe-a-change.md)

## Liquid 参考

18. [订单对象和常用变量](https://foliant-help.iforiti.com/cn/template-editor/liquid-order-variables.md)
19. [模板中的订单商品](https://foliant-help.iforiti.com/cn/template-editor/liquid-line-items.md)
20. [模板中的金额和币种](https://foliant-help.iforiti.com/cn/template-editor/liquid-money-and-currency.md)
21. [日期、语言和翻译](https://foliant-help.iforiti.com/cn/template-editor/liquid-dates-and-languages.md)
22. [模板中的单据编号](https://foliant-help.iforiti.com/cn/template-editor/liquid-document-numbers.md)
23. [条形码和二维码](https://foliant-help.iforiti.com/cn/template-editor/liquid-barcodes-and-qr-codes.md)
24. [Liquid 中的条件内容](https://foliant-help.iforiti.com/cn/template-editor/liquid-conditional-content.md)
25. [模板中的元字段](https://foliant-help.iforiti.com/cn/template-editor/metafields.md)
26. [订单属性和订单商品属性](https://foliant-help.iforiti.com/cn/template-editor/liquid-custom-fields.md)
27. [Liquid 筛选器](https://foliant-help.iforiti.com/cn/template-editor/liquid-filters.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.