🎨 桌面端内置 Pandoc 可执行文件 https://github.com/siyuan-note/siyuan/issues/5835

This commit is contained in:
Liang Ding 2022-09-07 10:30:25 +08:00
parent ffa53aa4f1
commit d134045a60
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
13 changed files with 91 additions and 19 deletions

View file

@ -187,6 +187,9 @@ func InitConf() {
// 废弃导出选项引用块转换为原始块和引述块 https://github.com/siyuan-note/siyuan/issues/3155
Conf.Export.BlockRefMode = 4 // 改为脚注
}
if "" == Conf.Export.PandocBin {
Conf.Export.PandocBin = util.PandocBinPath
}
if 9 > Conf.Editor.FontSize || 72 < Conf.Editor.FontSize {
Conf.Editor.FontSize = 16
}