mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-22 09:30:14 +01:00
🎨 Improve focus export conversion of block refs to footnotes https://github.com/siyuan-note/siyuan/issues/10647
This commit is contained in:
parent
0fd9947358
commit
cf6ac5a807
1 changed files with 1 additions and 1 deletions
|
|
@ -2110,7 +2110,7 @@ func exportTree(tree *parse.Tree, wysiwyg, expandKaTexMacros, keepFold bool,
|
||||||
unlinks = nil
|
unlinks = nil
|
||||||
if footnotesDefBlock := resolveFootnotesDefs(&refFootnotes, ret.Root.ID, blockRefTextLeft, blockRefTextRight); nil != footnotesDefBlock {
|
if footnotesDefBlock := resolveFootnotesDefs(&refFootnotes, ret.Root.ID, blockRefTextLeft, blockRefTextRight); nil != footnotesDefBlock {
|
||||||
// 如果是聚焦导出,可能存在没有使用的脚注定义块,在这里进行清理
|
// 如果是聚焦导出,可能存在没有使用的脚注定义块,在这里进行清理
|
||||||
// Improve focus export PDF conversion of block refs to footnotes https://github.com/siyuan-note/siyuan/issues/10647
|
// Improve focus export conversion of block refs to footnotes https://github.com/siyuan-note/siyuan/issues/10647
|
||||||
footnotesRefs := ret.Root.ChildrenByType(ast.NodeFootnotesRef)
|
footnotesRefs := ret.Root.ChildrenByType(ast.NodeFootnotesRef)
|
||||||
for footnotesDef := footnotesDefBlock.FirstChild; nil != footnotesDef; footnotesDef = footnotesDef.Next {
|
for footnotesDef := footnotesDefBlock.FirstChild; nil != footnotesDef; footnotesDef = footnotesDef.Next {
|
||||||
exist := false
|
exist := false
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue