Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

to opt out lightbox it should be nolightbox and not no-lightbox #1515

Merged
merged 1 commit into from
Dec 13, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading