Skip to content

Commit aa1beac

Browse files
committed
to opt out lightbox it should be nolightbox and not no-lightbox
1 parent 3943e95 commit aa1beac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/output-formats/html-lightbox-figures.qmd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ When lightbox is explicitly disabled, no images will receive the lightbox treatm
7777

7878
### Disabling Lightbox for Specific Images
7979

80-
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:
80+
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:
8181

8282
``` markdown
8383
---
@@ -87,7 +87,7 @@ lightbox: auto
8787

8888
![A Lovely Image](mv-1.jpg)
8989

90-
![Another Lovely Image](mv-2.jpg){.no-lightbox}
90+
![Another Lovely Image](mv-2.jpg){.nolightbox}
9191
```
9292

9393
In this example, the first image will receive the lightbox treatment, while the second image will not.

0 commit comments

Comments
 (0)