mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-13 07:56:14 +01:00
This commit is contained in:
parent
74273ebc1c
commit
1629777ac1
3 changed files with 4 additions and 4 deletions
|
|
@ -615,7 +615,7 @@ func GetDoc(id string, index int, keyword string, mode int, size int) (blockCoun
|
|||
return ast.WalkSkipChildren
|
||||
}
|
||||
|
||||
// TODO: 支持代码块搜索定位和高亮 https://github.com/siyuan-note/siyuan/issues/5520
|
||||
// 支持代码块搜索定位 https://github.com/siyuan-note/siyuan/issues/5520
|
||||
if ast.NodeCodeBlockCode == n.Type {
|
||||
// 搜索高亮
|
||||
text := string(n.Tokens)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue