This commit is contained in:
Liang Ding 2022-07-27 07:08:43 +08:00
parent 74273ebc1c
commit 1629777ac1
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
3 changed files with 4 additions and 4 deletions

View file

@ -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)