mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-27 10:46:09 +01:00
🎨 Improve export to Word .docx format https://github.com/siyuan-note/siyuan/issues/14970
Signed-off-by: Daniel <845765@qq.com>
This commit is contained in:
parent
a85655eae0
commit
f6dd1a7d7e
11 changed files with 58 additions and 18 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue