quarto-ext / lightbox

Create lightbox treatments for images in your HTML documents.
https://quarto-ext.github.io/lightbox/
MIT License
76 stars 4 forks source link

Is this extension compatible with the revealjs output from Quarto? #11

Open jasonpott opened 2 years ago

jasonpott commented 2 years ago

Thanks for creating this extension.

I thought that the lighbox interface would be neat to include in a slide show produced with quarto. I assume that this is not currently supported as none of your examples include this output type?

howardm commented 1 year ago

I, too, would appreciate an answer to this.

Thanks.

dragonstyle commented 1 year ago

It is currently not well supported for reveal presentations. If someone would like to look into improving its compatibility with revealjs, we would certainly appreciate it!

fbob commented 1 year ago

Is the pb due to Revealjs or rather on Quarto's side ?

dragonstyle commented 1 year ago

This extension uses glightbox (the javascript library) to implement the Lightbox. I'm not sure exactly where the issue is though it is likely an interaction between Reveal's url handling (which it does to control slide navigation) and Lightbox's url handling (which it does to implement the Lightbox behavior). If you happen to debug further, it is appreciated!