mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 22:50:13 +01:00
🎨 Block ref search and global search results display reference counts https://github.com/siyuan-note/siyuan/issues/15721
This commit is contained in:
parent
ab66716178
commit
74304e9cba
2 changed files with 37 additions and 2 deletions
|
|
@ -61,6 +61,7 @@ type Block struct {
|
|||
Children []*Block `json:"children"`
|
||||
Depth int `json:"depth"`
|
||||
Count int `json:"count"`
|
||||
RefCount int `json:"refCount"`
|
||||
Sort int `json:"sort"`
|
||||
Created string `json:"created"`
|
||||
Updated string `json:"updated"`
|
||||
|
|
@ -765,7 +766,7 @@ func GetBlockKramdown(id, mode string) (ret string) {
|
|||
if "md" == mode {
|
||||
// `/api/block/getBlockKramdown` link/image URLs are no longer encoded with spaces https://github.com/siyuan-note/siyuan/issues/15611
|
||||
luteEngine.SetPreventEncodeLinkSpace(true)
|
||||
|
||||
|
||||
ret = treenode.ExportNodeStdMd(root, luteEngine)
|
||||
} else {
|
||||
tree.Root = root
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue