slidev icon indicating copy to clipboard operation
slidev copied to clipboard

Code group sync between present

Open HymanZHAN opened this issue 2 weeks ago • 1 comments

Is your feature request related to a problem? Please describe.

When doing presentation with the presentation mode, I can not sync the code groups between the presenter and the presented slides.

Image

Describe the solution you'd like

Code group selection can also sync between the presenter and presented slides.

Describe alternatives you've considered

N/A

HymanZHAN avatar Dec 05 '25 04:12 HymanZHAN

Well, syncing every state between two tab instances is tricky to almost impossible (for users' custom components for example), while currently the code tabs are builtin but no difference from a standard user components. That said, maybe we should still do something with it to make the default experience nicer, but also I feel it's impossible to cover every single details, which in this case I actually recommend to use the "Screen Mirror" feature, so you will have only a single rendering view and always have it consistent with the actually page (but indeed it only work for a single device tho)

antfu avatar Dec 05 '25 05:12 antfu