diff --git a/docs/output-formats/html-lightbox-figures.qmd b/docs/output-formats/html-lightbox-figures.qmd
index 7aba786246..1d7cc7a61b 100644
--- a/docs/output-formats/html-lightbox-figures.qmd
+++ b/docs/output-formats/html-lightbox-figures.qmd
@@ -77,7 +77,7 @@ When lightbox is explicitly disabled, no images will receive the lightbox treatm
### Disabling Lightbox for Specific Images
-If automatic lightboxing of images is enabled, you can select specific images to not receive the treatment by marking them with a `no-lightbox` class. For example:
+If automatic lightboxing of images is enabled, you can select specific images to not receive the treatment by marking them with a `nolightbox` class. For example:
``` markdown
---
@@ -87,7 +87,7 @@ lightbox: auto

-{.no-lightbox}
+{.nolightbox}
```
In this example, the first image will receive the lightbox treatment, while the second image will not.