Open zzzhehao opened 2 weeks ago
Thanks for the PR!
We're very keen to work on this with you but it'll be about a week before we can take a look.
Thanks for the PR!
We're very keen to work on this with you but it'll be about a week before we can take a look.
No stress, I also opened PR completely unannounced. I got the idea and did some tiny modification for my own work, I just pushed to share it but it most probably needs some polishing from the developing side.
When presenting complex figures, simple pan or zoom effects may not optimally guide the audience's attention. To address this, I've added a crop effect to remove distracting parts of the figure. Use [@cr-myfigure]{data-crop="20%, 20%, 20%, 20%"} to specify the cropping portions on all four sides of the figure (top, right, bottom, left). To remove all existing cropping effects, simply call the figure without any specification: @cr-myfigure.
Brief introduction has been added in
docs/guide/focus-effects.qmd
.Here a quick demo video.