mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-23 15:34:06 +01:00
🎨 导出 PDF 支持保留折叠状态 https://github.com/siyuan-note/siyuan/issues/5941
This commit is contained in:
parent
32f08aa037
commit
5b39560d7d
4 changed files with 5 additions and 13 deletions
|
|
@ -637,11 +637,6 @@ func GetDoc(startID, endID, id string, index int, keyword string, mode int, size
|
|||
}
|
||||
}
|
||||
|
||||
if treenode.IsBlockRef(n) {
|
||||
appendRefTextRenderResultForBlockRef(n)
|
||||
return ast.WalkSkipChildren
|
||||
}
|
||||
|
||||
// 支持代码块搜索定位 https://github.com/siyuan-note/siyuan/issues/5520
|
||||
if ast.NodeCodeBlockCode == n.Type && 0 < len(keywords) && !treenode.IsChartCodeBlockCode(n) {
|
||||
text := string(n.Tokens)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue