Open Suomm opened 10 months ago
'code group' already in core.
'code group' already in core.
我想实现这个 issue 提到的功能 https://github.com/vuejs/vitepress/issues/3205,官方的 code-group 没有实现,我使用 https://vitepress-plugins.sapphi.red/tabs/ 这个插件去替代,但是我发现这两个的风格不一样,如果混用的话不是特别美观。
也不是说混用,我不太喜欢 tabs 插件的这个风格,还是比较喜欢官方的这个 code-group 风格,但是不支持一起切换。
Oh.. you want code groups works like on android developer portal. User choice change all tabs in a page, not current only. I think better to modify original plugin for this
Oh.. you want code groups works like on android developer portal. User choice change all tabs in a page, not current only. I think better to modify original plugin for this
"original plugin" 指的是 vitpress-plugin-tabs 还是 code-group?
既然官方支持标签切换功能,就没必要仅仅为了一个统一切换,再引入一个一样的插件了。
Since the official supported tab change,there is no need to import a same plugin just to solve all tab change problem.
@brc-dd 元芳你怎么看?
Originally posted by @brc-dd in https://github.com/vuejs/vitepress/issues/3205#issuecomment-1810352644
我尝试了这个插件,但是我发现它的风格和 code-group 不一致,还是希望不通过插件支持。
I tried this plugin, but I found that its style is not consistent with the code group, so I still hope it is not supported through the plugin.