# PDF 与打印

### 支持的导出格式

| 文件类型    | 文件扩展名 |
| ------- | ----- |
| Soulver | slvr  |
| 纯文本     | txt   |
| CSV     | csv   |
| PDF     | pdf   |
| HTML    | html  |

在 Mac 版本中，要导出，请转到 `File` > `Export` > `(选择所需的格式)`

或者使用 `File` > `Export` 自定义导出格式。

### 自定义 HTML 和 PDF 输出

HTML 和 PDF 文件以及打印文档将使用您设置中的视觉选项（语法高亮、字体大小等）。

但是，您可能希望进一步自定义打印或导出的文档。这可以在 **导出工作表** (`File` > `Export`) 中完成。

此工作表允许您在导出之前指定字体、字号、语法高亮以及是否显示行号和总计。还有一个选项可以隐藏注释（跟在 `//` 后面的文本）和标题指示符（#）在打印/导出输出中。

### iPad 和 iPhone 上的快速 PDF 导出

截屏并选择“完整页面”，即可快速创建工作表的 PDF。


---

# Agent Instructions: 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://documentation.soulver.app/zh/documentation/exporting/sharing-and-printing.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.
