Skip to content
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

Sync active CodeGroupItem across all CodeGroups on same page #541

Closed
jrappen opened this issue Nov 29, 2021 · 9 comments
Closed

Sync active CodeGroupItem across all CodeGroups on same page #541

jrappen opened this issue Nov 29, 2021 · 9 comments
Labels

Comments

@jrappen
Copy link

jrappen commented Nov 29, 2021

Feature request

Description

When making use of CodeGroupItem for fenced code blocks, I want to sync the active selection across all CodeGroups on the same page.

@github-actions github-actions bot added the stale label Dec 7, 2021
@github-actions
Copy link

github-actions bot commented Dec 7, 2021

This issue is marked as stale because it has not had recent activity. Issues marked with stale will be closed if they have no activity within 3 days.

@jrappen
Copy link
Author

jrappen commented Dec 7, 2021

Any updates?

@github-actions github-actions bot removed the stale label Dec 7, 2021
@github-actions github-actions bot added the stale label Dec 15, 2021
@github-actions
Copy link

This issue is marked as stale because it has not had recent activity. Issues marked with stale will be closed if they have no activity within 3 days.

@jrappen
Copy link
Author

jrappen commented Dec 15, 2021

@meteorlxy Not sure why your workflow automatically closes issues.

@github-actions github-actions bot removed the stale label Dec 15, 2021
@github-actions
Copy link

This issue is marked as stale because it has not had recent activity. Issues marked with stale will be closed if they have no activity within 3 days.

@DaveSanders
Copy link

I'd vote for and like to see this functionality, and support it with an optional cookie. It would be great if when a user switched to a specific language, that all code blocks on the site try to use that language by default.

@github-actions github-actions bot removed the stale label Dec 29, 2022
@Mister-Hope
Copy link
Member

Mister-Hope commented Dec 30, 2022

This feature is already supported by vuepress-plugin-md-enhance.

Further discussion can be at plugin repo.

@Mister-Hope Mister-Hope added the question Asking question label Dec 30, 2022
@meteorlxy
Copy link
Member

I was going to support it in default theme, but it was blocked by vueuse/vueuse#1595 at that time. Now seems that it has been fixed.

@meteorlxy meteorlxy added enhancement New feature or request package:theme-default and removed question Asking question labels Jan 2, 2023
@meteorlxy meteorlxy reopened this Jan 2, 2023
@Mister-Hope
Copy link
Member

I still recommend to use my plugin https://plugin-md-enhance.vuejs.press/zh/guide/tabs.html

The default theme syntax is a bit complicated and hard to write, also, people may want to associate same id with different tab text

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants