Skip to content

Commit

Permalink
docs: improve docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Xiaokang2022 committed Oct 31, 2024
1 parent 602f76f commit 7af8e6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion demo-mkdocs/docs/gallery/gallery.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ There are two galleries: taipei and seattle.

## Dark and light mode

If you are using the mkdocs theme is material, then we provide an option `auto_themed` to enable the dark and light mode of the material theme. When enabled, the image with the same theme will be grouped as a galley in the light box.
If you are using the mkdocs theme is material, then we provide an option `auto_themed` to support the dark and light mode of the material theme. When enabled, the image with the same theme will be grouped as a galley in the light box. This is done by automatically adding attribute `data-gallery` to images with the same theme.

Enabled in a similar way to option [`auto_caption`](../caption/caption.md#image-alt-as-the-caption).

Expand Down

0 comments on commit 7af8e6e

Please sign in to comment.