🎨 Supports configuration of whether to export inline memos https://github.com/siyuan-note/siyuan/issues/14605

This commit is contained in:
Daniel 2025-04-20 17:27:14 +08:00
parent 6bf9f0429d
commit bf20b47250
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
5 changed files with 23 additions and 17 deletions

View file

@ -34,6 +34,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
InlineMemo bool `json:"inlineMemo"` // 是否导出行级备忘录 https://github.com/siyuan-note/siyuan/issues/14605
PDFFooter string `json:"pdfFooter"` // PDF 导出时页脚内容
DocxTemplate string `json:"docxTemplate"` // Docx 导出时模板文件路径
PDFWatermarkStr string `json:"pdfWatermarkStr"` // PDF 导出时水印文本或水印文件路径
@ -55,6 +56,7 @@ func NewExport() *Export {
FileAnnotationRefMode: 0,
PandocBin: "",
MarkdownYFM: false,
InlineMemo: false,
PDFFooter: "%page / %pages",
}
}