mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 22:50: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
|
|
@ -1433,7 +1433,6 @@ func execStmtTx(tx *sql.Tx, stmt string, args ...interface{}) (err error) {
|
|||
|
||||
func nSort(n *ast.Node) int {
|
||||
switch n.Type {
|
||||
// 以下为块级元素
|
||||
case ast.NodeHeading:
|
||||
return 5
|
||||
case ast.NodeParagraph:
|
||||
|
|
@ -1452,6 +1451,8 @@ func nSort(n *ast.Node) int {
|
|||
return 20
|
||||
case ast.NodeBlockquote:
|
||||
return 20
|
||||
case ast.NodeCallout:
|
||||
return 20
|
||||
case ast.NodeSuperBlock:
|
||||
return 30
|
||||
case ast.NodeAttributeView:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue