From 04c2e2e4cdba09ed3eecf4fce56420f4f1566656 Mon Sep 17 00:00:00 2001 From: Ramanathan10 Date: Wed, 19 Jan 2022 12:25:02 -0800 Subject: [PATCH] update image reference path (#2417) --- docs/src/pages/en/guides/markdown-content.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/pages/en/guides/markdown-content.md b/docs/src/pages/en/guides/markdown-content.md index 8050727f9..8233a8af4 100644 --- a/docs/src/pages/en/guides/markdown-content.md +++ b/docs/src/pages/en/guides/markdown-content.md @@ -158,7 +158,7 @@ For Markdown files, the `content` prop also has an `astro` property which holds Using images or videos follows Astro's normal import rules: - Place them in the `public/` as explained on the [project-structure page](/en/core-concepts/project-structure/#public) - - Example: Image is located at `/public/assets/img/astonaut.png` → Markdown: `![Astronaut](assets/img/astronaut.png)` + - Example: Image is located at `/public/assets/img/astonaut.png` → Markdown: `![Astronaut](/assets/img/astronaut.png)` - Or use `import` as explained on the [imports page](/en/guides/imports#other-assets) (when using Astro's Markdown Component) ### Markdown draft pages