mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-29 21:08:49 +01:00
✨ 行级元素支持多重样式类型 https://github.com/siyuan-note/siyuan/issues/2911
This commit is contained in:
parent
395d5e6583
commit
61453ad84b
2 changed files with 65 additions and 46 deletions
|
|
@ -195,6 +195,9 @@ func SearchAssetsByName(keyword string) (ret []*cache.Asset) {
|
|||
|
||||
func GetAssetAbsPath(relativePath string) (absPath string, err error) {
|
||||
relativePath = strings.TrimSpace(relativePath)
|
||||
if strings.Contains(relativePath, "?") {
|
||||
relativePath = relativePath[:strings.Index(relativePath, "?")]
|
||||
}
|
||||
notebooks, err := ListNotebooks()
|
||||
if nil != err {
|
||||
err = errors.New(Conf.Language(0))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue