@nschonni That's a tough question as the markup approach provides more flexibility and better performance while the JS approach means its easier to implement. I wasn't sure how to strike that balance for the Lightbox plugin so left it as a TODO.

How much flexibility should we be giving? Should we let them code whatever they want or lock down the markup?