🎨 Improve local image rendering in README of installed marketplace packages https://github.com/siyuan-note/siyuan/issues/14502

This commit is contained in:
Daniel 2025-04-03 13:17:54 +08:00
parent 7ab4ccf991
commit 4b27f131ca
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
6 changed files with 20 additions and 9 deletions

View file

@ -188,7 +188,7 @@ func InstalledWidgets() (ret []*Widget) {
continue
}
widget.PreferredReadme, _ = renderREADME(widget.URL, readme)
widget.PreferredReadme, _ = renderLocalREADME("/widgets/"+dirName+"/", readme)
widget.Outdated = isOutdatedWidget(widget, bazaarWidgets)
ret = append(ret, widget)
}