mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-24 02:20:13 +01:00
🎨 Improve callout block https://github.com/siyuan-note/siyuan/issues/16607
Signed-off-by: Daniel <845765@qq.com>
This commit is contained in:
parent
6f2ace0c28
commit
c07efea8de
18 changed files with 33 additions and 33 deletions
|
|
@ -468,7 +468,7 @@ func GetCloudShorthand(id string) (ret map[string]interface{}, err error) {
|
|||
luteEngine.SetFootnotes(true)
|
||||
tree := parse.Parse("", []byte(md), luteEngine.ParseOptions)
|
||||
luteEngine.RenderOptions.ProtyleMarkNetImg = false
|
||||
content := luteEngine.ProtylePreview(tree, luteEngine.RenderOptions)
|
||||
content := luteEngine.ProtylePreview(tree, luteEngine.RenderOptions, luteEngine.ParseOptions)
|
||||
ret["shorthandContent"] = content
|
||||
return
|
||||
}
|
||||
|
|
@ -522,7 +522,7 @@ func GetCloudShorthands(page int) (result map[string]interface{}, err error) {
|
|||
shorthand["shorthandMd"] = md
|
||||
tree := parse.Parse("", []byte(md), luteEngine.ParseOptions)
|
||||
luteEngine.RenderOptions.ProtyleMarkNetImg = false
|
||||
content := luteEngine.ProtylePreview(tree, luteEngine.RenderOptions)
|
||||
content := luteEngine.ProtylePreview(tree, luteEngine.RenderOptions, luteEngine.ParseOptions)
|
||||
shorthand["shorthandContent"] = content
|
||||
}
|
||||
return
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue