blueswen / mkdocs-glightbox

A MkDocs plugin supports image lightbox (zoom effect) with GLightbox.
https://blueswen.github.io/mkdocs-glightbox/
MIT License
115 stars 14 forks source link

added "manual" option #29

Closed michalfapso closed 2 months ago

michalfapso commented 5 months ago

Hi and thanks for this project!

I needed to disable lightbox by default and only enable it manually on very few images in my documentation. Currently it's possible only by setting glightbox-manual: true in each page's metadata. I prefer to set it globally for the whole site.

I didn't write any automatic test for it as this change seems to be quite simple.

Please, let me know what you think and if it fits the project well.

Cheers, Michal

blueswen commented 2 months ago

LGTM! Sorry for the late reply. Thanks for your help.