Skip to content

Commit 218d9aa

Browse files
committed
Update markdown.mdx based on issue #242
1 parent c711e55 commit 218d9aa

File tree

1 file changed

+8
-1
lines changed
  • fern/products/docs/pages/component-library/writing-content

1 file changed

+8
-1
lines changed

fern/products/docs/pages/component-library/writing-content/markdown.mdx

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,12 @@ You can use locally stored images or URLs to include images in your Markdown pag
8282
</Tab>
8383
</Tabs>
8484

85+
To disable image zoom functionality, add the `noZoom` attribute to the image:
86+
87+
```html
88+
<img src="../assets/logo.png" alt="Logo" noZoom />
89+
```
90+
8591
Common image attributes:
8692

8793
| Attribute | Description |
@@ -90,6 +96,7 @@ Common image attributes:
9096
| `alt` | Alternative text for accessibility |
9197
| `title` | Tooltip text shown on hover |
9298
| `width` and `height` | Dimensions of the image in pixels |
99+
| `noZoom` | Disables image zoom functionality |
93100

94101
<Note>
95102
For more details about the HTML image element and its attributes, see the [MDN documentation on the img element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img).
@@ -229,4 +236,4 @@ erDiagram
229236
CUSTOMER ||--o{ PLANT-ORDER : places
230237
PLANT-ORDER ||--|{ PLANT-ID : contains
231238
CUSTOMER }|..|{ DELIVERY-ADDRESS : uses
232-
```
239+
```

0 commit comments

Comments
 (0)