Skip to content

Commit 12b0742

Browse files
Added image path tip (#637)
* Added image path tip * Update image-embeds.mdx --------- Co-authored-by: Hahnbee Lee <[email protected]>
1 parent a719d31 commit 12b0742

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

image-embeds.mdx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@ The [markdown syntax](https://www.markdownguide.org/basic-syntax/#images) lets y
2323
```md
2424
![title](/path/image.jpg)
2525
```
26-
26+
<Tip>
27+
To make sure images are displayed correctly in production, add a forward slash to the image path (e.g. `/path/image.jpg`).
28+
</Tip>
2729
Note that the image file size must be less than 5MB. Otherwise, we recommend hosting on a service like [Cloudinary](https://cloudinary.com/) or [S3](https://aws.amazon.com/s3/). You can then use that URL and embed.
2830

2931
### Using Embeds

0 commit comments

Comments
 (0)