Signed-off-by: Daniel <845765@qq.com>
This commit is contained in:
Daniel 2025-12-06 16:46:14 +08:00
parent 362f6ffa05
commit 980f6dd0b8
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
9 changed files with 26 additions and 12 deletions

View file

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