mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-05-04 04:20:53 +08:00
🎨 Improve embed block exporting https://github.com/siyuan-note/siyuan/issues/14161#issuecomment-2709377614
This commit is contained in:
parent
0fa0b16e3b
commit
f81cf5f32d
@ -345,6 +345,9 @@ func resolveEmbedR(n *ast.Node, blockEmbedMode int, luteEngine *lute.Lute, resol
|
|||||||
inserts = append(inserts, subNode)
|
inserts = append(inserts, subNode)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if 2 < len(n.KramdownIAL) && 0 < len(inserts) {
|
||||||
|
inserts[0].KramdownIAL = n.KramdownIAL
|
||||||
|
}
|
||||||
for _, insert := range inserts {
|
for _, insert := range inserts {
|
||||||
n.InsertBefore(insert)
|
n.InsertBefore(insert)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user