From 728f751a7b7aa53323cb1c683fac96e28860f073 Mon Sep 17 00:00:00 2001 From: Ruhan Date: Fri, 11 Apr 2025 14:49:39 -0700 Subject: [PATCH 1/2] Added image path tip --- image-embeds.mdx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/image-embeds.mdx b/image-embeds.mdx index 7d54545dc..642f5b6ff 100644 --- a/image-embeds.mdx +++ b/image-embeds.mdx @@ -23,7 +23,9 @@ The [markdown syntax](https://www.markdownguide.org/basic-syntax/#images) lets y ```md ![title](/path/image.jpg) ``` - + +To make sure images are displayed correctly in production, we recommend adding a forward slash to the relative image path (e.g. `/path/image.jpg`). + 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. ### Using Embeds From fa09e36c5e5d730d0f284256921f189e2ebbc7d8 Mon Sep 17 00:00:00 2001 From: Hahnbee Lee <55263191+hahnbeelee@users.noreply.github.com> Date: Mon, 14 Apr 2025 23:46:49 -0700 Subject: [PATCH 2/2] Update image-embeds.mdx --- image-embeds.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/image-embeds.mdx b/image-embeds.mdx index 642f5b6ff..19fc9fa41 100644 --- a/image-embeds.mdx +++ b/image-embeds.mdx @@ -24,7 +24,7 @@ The [markdown syntax](https://www.markdownguide.org/basic-syntax/#images) lets y ![title](/path/image.jpg) ``` -To make sure images are displayed correctly in production, we recommend adding a forward slash to the relative image path (e.g. `/path/image.jpg`). +To make sure images are displayed correctly in production, add a forward slash to the image path (e.g. `/path/image.jpg`). 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.