unjs / undocs

Minimal Documentation theme and CLI for shared usage across UnJS projects.
https://undocs.pages.dev/
MIT License
200 stars 13 forks source link

Auto code groups #67

Closed pi0 closed 8 months ago

pi0 commented 8 months ago

When there are multiple code blocks after each other, we might automatically wrap them into a ::code-group component.

For now it can be implemented in https://github.com/unjs/undocs/blob/main/app/server/plugins/content.ts