From 7af8e6e03723cd160cdce6f238afabb0d9cd5c66 Mon Sep 17 00:00:00 2001 From: Xiaokang2022 <2951256653@qq.com> Date: Thu, 31 Oct 2024 21:56:49 +0800 Subject: [PATCH] docs: improve docs --- demo-mkdocs/docs/gallery/gallery.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/demo-mkdocs/docs/gallery/gallery.md b/demo-mkdocs/docs/gallery/gallery.md index 63087ac..f75cf5a 100644 --- a/demo-mkdocs/docs/gallery/gallery.md +++ b/demo-mkdocs/docs/gallery/gallery.md @@ -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).