mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 22:50:13 +01:00
🎨 Improve exporting block ref https://github.com/siyuan-note/siyuan/issues/13331
This commit is contained in:
parent
70d0246668
commit
6f87241626
15 changed files with 23 additions and 53 deletions
|
|
@ -266,9 +266,10 @@ func InitConf() {
|
|||
if nil == Conf.Export {
|
||||
Conf.Export = conf.NewExport()
|
||||
}
|
||||
if 0 == Conf.Export.BlockRefMode || 1 == Conf.Export.BlockRefMode {
|
||||
if 0 == Conf.Export.BlockRefMode || 1 == Conf.Export.BlockRefMode || 5 == Conf.Export.BlockRefMode {
|
||||
// 废弃导出选项引用块转换为原始块和引述块 https://github.com/siyuan-note/siyuan/issues/3155
|
||||
Conf.Export.BlockRefMode = 4 // 改为脚注
|
||||
// 锚点哈希模式和脚注模式合并 https://github.com/siyuan-note/siyuan/issues/13331
|
||||
Conf.Export.BlockRefMode = 4 // 改为脚注+锚点哈希
|
||||
}
|
||||
if "" == Conf.Export.PandocBin {
|
||||
Conf.Export.PandocBin = util.PandocBinPath
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue