Skip to content

Commit 537e07a

Browse files
committed
Update markdown.mdx based on issue #242
1 parent 093548f commit 537e07a

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Disable image zoom
2+
3+
Images in Fern Docs can be zoomed by default. To disable zoom for an image, add the `noZoom` property to the HTML `img` tag:
4+
5+
```html
6+
<img src="../assets/hero.png" alt="Logo" noZoom />
7+
```
8+
9+
You can also add `no-zoom: true` as a meta tag to disable zoom for all images on a page:
10+
11+
```yaml
12+
---
13+
title: My Page
14+
no-zoom: true
15+
---
16+
```

0 commit comments

Comments
 (0)