Skip to content

myst-contrib/myst-lightbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

myst-lightbox

A MyST plugin that automatically turns every figure and image on a page into a clickable lightbox, with caption, zoom, and gallery navigation. Powered by GLightbox.

Usage

Add the plugin to your myst.yml:

project:
  plugins:
    - https://raw.githubusercontent.com/choldgraf/myst-lightbox/main/src/index.mjs

That's it. Build your site as usual.

Local development

nox -s docs-live   # serve the demo at http://localhost:3000
nox -s docs        # build the demo site

About

Turn images into lightboxes that expand when you click them

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Contributors