- 
          
- 
                Notifications
    You must be signed in to change notification settings 
- Fork 2.5k
Open
Labels
Description
Is your feature request related to a problem? Please describe.
Usually when someone is reading a blog or documentation, there will be images to help explain the content better to the reader, such as screenshots. Sometimes if the screenshot itself is too small, users can click on the image to zoom in, and click on it again to zoom out.
Describe the solution you'd like
I'd like a way for images to be zoomed in on click, and on clicking the image again, zooming back out to the content.
Describe alternatives you've considered
There is medium-zoom, which was integrated into VuePress v2. There is also Lightbox.
I would have used these libraries, but I am not that good at JavaScript and using NPM, so I wouldn't know how to integrate them into my VitePress site, or if they even can be integrated.
Additional context
No response
Validations
- Follow our Code of Conduct
- Read the docs.
- Read the Contributing Guidelines.
- Check that there isn't already an issue that asks for the same feature to avoid creating a duplicate.
System-Glitch, brolnickij, fxzer, cruvie, Chaoses-Ib and 2 more