Path: blob/main/src/resources/schema/document-lightbox.yml
12921 views
- name: lightbox1schema:2anyOf:3- boolean4- enum: ["auto"]5- object:6closed: true7properties:8match:9schema:10enum: ["auto"]11description:12short: Set this to `auto` if you'd like any image to be given lightbox treatment.13long: |14Set this to `auto` if you'd like any image to be given lightbox treatment. If you omit this, only images with the class `lightbox` will be given the lightbox treatment.15effect:16schema:17enum: ["fade", "zoom", "none"]18description: The effect that should be used when opening and closing the lightbox. One of `fade`, `zoom`, `none`. Defaults to `zoom`.19desc-position:20schema:21enum: ["top", "bottom", "left", "right"]22description: The position of the title and description when displaying a lightbox. One of `top`, `bottom`, `left`, `right`. Defaults to `bottom`.23loop:24boolean:25description: Whether galleries should 'loop' to first image in the gallery if the user continues past the last image of the gallery. Boolean that defaults to `true`.26css-class:27string:28description: A class name to apply to the lightbox to allow css targeting. This will replace the lightbox class with your custom class name.29tags:30formats: [$html-doc]31description: Enable or disable lightbox treatment for images in this document. See [Lightbox Figures](https://quarto.org/docs/output-formats/html-lightbox-figures.html) for more details.323334