Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: PDF export supports setting footer https://github.com/siyuan-note/siyuan/issues/7478

Liang Ding10f991c42a56
diff --git a/kernel/conf/export.go b/kernel/conf/export.go
index f63c7e43d7..5b3773845c 100644
--- a/kernel/conf/export.go
+++ b/kernel/conf/export.go
@@ -28,6 +28,7 @@ type Export struct {
FileAnnotationRefMode int `json:"fileAnnotationRefMode"` // 文件标注引用导出模式,0:文件名 - 页码 - 锚文本,1:仅锚文本
PandocBin string `json:"pandocBin"` // Pandoc 可执行文件路径
MarkdownYFM bool `json:"markdownYFM"` // Markdown 导出时是否添加 YAML Front Matter https://github.com/siyuan-note/siyuan/issues/7727
+ PDFFooter string `json:"pdfFooter"` // PDF 导出时页脚内容
}
func NewExport() *Export {