Closed yuyinws closed 3 months ago
Looks good, but I guess this can be done without any runtime deps (bundle size difference is over 20KB, 8KB gz + one less request to iconify api from visitor's browser)
Oh, good idea! I will try to implement it on this plugin. Close pr for now∶)
You'll need to find some way to extract used icons though (using vite plugin maybe). Otherwise all icons will be added to CSS 🫠
I can add the data-label (or maybe data-title?) thing to core though. This line will need change:
You'll need to just write the vite plugin then 👀
Cool! I will write the plugin recently and share your the latest progress.
ping me on https://chat.vuejs.org/ (vitepress channel) if you need to discuss something 👍
Description
This PR add vitepress-plugin-group-icons to enhance the readability for
code-group
:After
Linked Issues
Additional Context
This plugin already using by: