Skip to content

Conversation

vmaerten
Copy link

@vmaerten vmaerten commented Aug 9, 2025

Description

This PR adds support for synchronizing multiple code groups using a shared key.
The syntax is as follows:

::: code-group :package-manager
......
:::
::: code group :package-manager
...........
:::

Here, package-manager is the key used to link the groups.

The documentation has been updated accordingly, and an example has been added.

Linked Issues

fixes #2954

Additional Context

I've also update vitepress website to use this in getting-started.

@vmaerten
Copy link
Author

vmaerten commented Aug 9, 2025

/publish

@vmaerten vmaerten marked this pull request as ready for review August 9, 2025 08:54
@vmaerten vmaerten changed the title feat: allow sync code group with key feat: allow sync code group with a shared key Aug 9, 2025
@brc-dd brc-dd force-pushed the main branch 2 times, most recently from c5a8428 to 8abbe29 Compare August 14, 2025 03:45
@brc-dd brc-dd force-pushed the main branch 2 times, most recently from 084cf43 to d3a1567 Compare August 20, 2025 14:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Sync code group selection
2 participants