🎨 Remove the footer Export by SiYuan when exporting image and PDF Fix https://github.com/siyuan-note/siyuan/issues/7838

This commit is contained in:
Liang Ding 2023-03-31 10:51:18 +08:00
parent 1f7fc4cc8f
commit 8a2a724341
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
10 changed files with 1 additions and 29 deletions

View file

@ -19,7 +19,6 @@ package conf
type Export struct {
ParagraphBeginningSpace bool `json:"paragraphBeginningSpace"` // 是否使用中文排版段落开头空两格
AddTitle bool `json:"addTitle"` // 是否添加标题
AddFooter bool `json:"addFooter"` // 是否添加页脚
BlockRefMode int `json:"blockRefMode"` // 内容块引用导出模式2锚文本块链3仅锚文本4块引转脚注0使用原始文本1使用 Blockquote。0 和 1 都已经废弃 https://github.com/siyuan-note/siyuan/issues/3155
BlockEmbedMode int `json:"blockEmbedMode"` // 内容块引用导出模式0使用原始文本1使用 Blockquote
BlockRefTextLeft string `json:"blockRefTextLeft"` // 内容块引用导出锚文本左侧符号,默认留空
@ -35,7 +34,6 @@ func NewExport() *Export {
return &Export{
ParagraphBeginningSpace: false,
AddTitle: true,
AddFooter: true,
BlockRefMode: 3,
BlockEmbedMode: 1,
BlockRefTextLeft: "",