1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51
|
---
glightbox: false
---
You can disable lightbox of all images on a specific page by adding page metadata ```glightbox: false``` through markdown_extensions ```meta```. Enable ```meta``` via ```mkdocs.yml```:
```yaml
markdown_extensions:
- meta
```
Check more details about ```meta``` on the [official document](https://python-markdown.github.io/extensions/meta_data/).
## Demo
All images' lightbox are disabled on this page.
```markdown
---
glightbox: false
---

Lanyu, Taiwan. Credit: Blueswen

Hallstatt, Austria. Credit: Blueswen

Obertraun, Austria. Credit: Blueswen
```
<figure markdown>

<figcaption>Lanyu, Taiwan. Credit: Blueswen</figcaption>
</figure>
<figure markdown>

<figcaption>Hallstatt, Austria. Credit: Blueswen</figcaption>
</figure>
<figure markdown>

<figcaption>Obertraun, Austria. Credit: Blueswen</figcaption>
</figure>
|