Skip to content

feat: allow sync code group with a shared key #4898

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

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
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