You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here, various types of plugins are listed with their display styles and icons in the plugin marketplace. However, text-based representation may not be very intuitive. I believe it can be replaced with the same set of icons used in the plugin marketplace.
I delved into Koishi's documentation and the market code and found that they are in the form of SVGs within Vue files. This leads to two possible solutions:
Copy the icons from the market into the documentation and then register these components in the enhanceApp function.
Keep the icons in the market project. I'll write a component that imports Vue components from the market project and then displays the appropriate icons based on parameters.
Currently, I think option 2 would be more suitable. What do you think?
docs/zh-CN/manual/recipe/search.md
Lines 15 to 20 in 2134e1d
Here, various types of plugins are listed with their display styles and icons in the plugin marketplace. However, text-based representation may not be very intuitive. I believe it can be replaced with the same set of icons used in the plugin marketplace.
这里列出了插件市场中各种类型的插件及其显示样式和图标。然而,基于文本的表示可能不是很直观。我相信它可以替换为插件市场中使用的同一组图标。
The text was updated successfully, but these errors were encountered: