🎨 Improve importing for markdown syntax #Tag Fix https://github.com/siyuan-note/siyuan/issues/8882

This commit is contained in:
Daniel 2023-08-01 23:29:35 +08:00
parent c291a78bfd
commit 1e8b5df293
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -1063,6 +1063,7 @@ func buildBlockRefInText() {
}
t := parse.Inline("", n.Tokens, lute.ParseOptions) // 使用行级解析
parse.NestedInlines2FlattedSpans(t)
var children []*ast.Node
for c := t.Root.FirstChild.FirstChild; nil != c; c = c.Next {
children = append(children, c)