vitepress
vitepress copied to clipboard
feat: Document support image preview
About PR
Thanks for checking
We often insert pictures in documents,But currently does not support preview images, so i add this feature on this pr.
Please forgive me and give pointers if there is any bad writing.
we can preview like this:
demo
As long as img is used in the document, clicking on this image can trigger the preview effect, like this:


Thanks again
Could be nice feature to add, but I would like to adjust the stylings a bit. I'll look into it when I get time!
Also, there was some discussion on this. Refer #854, it is straightforward to add if someone wants (the example is outdated though 😅, https://github.com/vuejs/vitepress/issues/854#issuecomment-1233866453 will fix route change issues).
would thanks, I am looking forward to updating as soon as possible!
Is there still a chance for this feature?