mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-24 02:20:13 +01:00
✨ Callout block https://github.com/siyuan-note/siyuan/issues/16051
Signed-off-by: Daniel <845765@qq.com>
This commit is contained in:
parent
362f6ffa05
commit
980f6dd0b8
9 changed files with 26 additions and 12 deletions
|
|
@ -596,6 +596,14 @@ func graphTypeFilter(local bool) string {
|
|||
inList = append(inList, "'s'")
|
||||
}
|
||||
|
||||
callout := Conf.Graph.Local.Callout
|
||||
if !local {
|
||||
callout = Conf.Graph.Global.Callout
|
||||
}
|
||||
if callout {
|
||||
inList = append(inList, "'callout'")
|
||||
}
|
||||
|
||||
inList = append(inList, "'d'")
|
||||
return " AND ref.type IN (" + strings.Join(inList, ",") + ")"
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue