{"repo":"BadgerHobbs/vitepress-plugin-lightbox","free":true,"listed":false,"github":"https://github.com/BadgerHobbs/vitepress-plugin-lightbox","clone":"git clone https://github.com/BadgerHobbs/vitepress-plugin-lightbox.git","description":"Plugin for VitePress to add support for viewing images in a lightbox.","language":"TypeScript","stars":35,"topics":["lightbox","markdown","markdown-it","vitepress"],"license":"MIT","category":"productivity","readme_excerpt":"vitepress-plugin-lightbox Plugin for VitePress to add support for viewing images in lightboxes, you can check out the example site here. It is also available on NPM. This plugin is built using the medium-zoom package. Installation First, install the plugin from NPM. Then import it and update your VitePress config.mts file to use the plugin as shown below. Now create the .vitepress/theme directory, and add the following two files. .vitepress/theme/index.ts .vitepress/theme/Layout.vue Usage When you add images to your markdown files, like the example below, they are now can automatically be clicked to view in a lightbox. See the /example directory within the repository for a full working example of how to use the plugin with VitePress. To view working examples deployed within a VitePress static site instance, you can checkout the repository example deployed via GitHub pages here. License The scripts and documentation in this project are released under the MIT License.","default_branch":null,"files":null,"tree":[],"storefront":"/r/BadgerHobbs","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/BadgerHobbs/vitepress-plugin-lightbox/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}