Skip to content

Commit

Permalink
Merge pull request #1516 from quarto-dev/sync-1515-to-prerelease
Browse files Browse the repository at this point in the history
  • Loading branch information
cderv authored Dec 13, 2024
2 parents 99ecfb1 + 419f007 commit 29f658a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/output-formats/html-lightbox-figures.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -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
---
Expand All @@ -87,7 +87,7 @@ lightbox: auto

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

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

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

0 comments on commit 29f658a

Please sign in to comment.