🎨 数据库中表 blocksmarkdown 字段使用 Markdown 标记符 Fix https://github.com/siyuan-note/insider/issues/1053

This commit is contained in:
Liang Ding 2022-09-19 09:48:25 +08:00
parent 371062efdb
commit a383f8de68
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
7 changed files with 21 additions and 10 deletions

View file

@ -113,7 +113,7 @@ func GetBlockKramdown(id string) (ret string) {
addBlockIALNodes(tree, false)
node := treenode.GetNodeInTree(tree, id)
luteEngine := NewLute()
ret, _ = lute.FormatNodeSync(node, luteEngine.ParseOptions, luteEngine.RenderOptions)
ret = treenode.ExportNodeStdMd(node, luteEngine)
return
}