Skip to content

Commit e8d5f49

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

File tree

1 file changed

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

1 file changed

+8
-2
lines changed

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

Lines changed: 8 additions & 2 deletions
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 prevent an image from being zoomable, add the `noZoom` attribute to the image tag:
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` | Prevents image from being zoomable |
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).
@@ -109,7 +116,6 @@ For example, to embed a video, use the following Markdown:
109116

110117
### Local videos
111118

112-
113119
You can embed videos in your documentation using the HTML `<video>` tag. This gives you control over video playback settings like autoplay, looping, and muting.
114120

115121
```html
@@ -229,4 +235,4 @@ erDiagram
229235
CUSTOMER ||--o{ PLANT-ORDER : places
230236
PLANT-ORDER ||--|{ PLANT-ID : contains
231237
CUSTOMER }|..|{ DELIVERY-ADDRESS : uses
232-
```
238+
```

0 commit comments

Comments
 (0)