Signed-off-by: Daniel <845765@qq.com>
This commit is contained in:
Daniel 2026-01-19 19:29:58 +08:00
parent a85655eae0
commit f6dd1a7d7e
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
11 changed files with 58 additions and 18 deletions

View file

@ -773,6 +773,7 @@ func ExportDocx(id, savePath string, removeAssets, merge bool) (fullPath string,
"-f", "html+tex_math_dollars",
"--resource-path", tmpDir,
"-o", tmpDocxPath,
"--lua-filter", util.PandocColorFilterPath,
}
params := util.RemoveInvalid(Conf.Export.PandocParams)
@ -946,6 +947,7 @@ func ExportMarkdownHTML(id, savePath string, docx, merge bool) (name, dom string
if docx {
processIFrame(tree)
fillThemeStyleVar(tree)
}
luteEngine := NewLute()