From e8df271ff1047b514160aa04206dcc104fb778f5 Mon Sep 17 00:00:00 2001 From: Polaris <37720445+PolarisWasInDenial@users.noreply.github.com> Date: Thu, 18 Jul 2024 03:16:56 -0500 Subject: [PATCH] Update migration-from-vuepress.md --- docs/en/guide/migration-from-vuepress.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/en/guide/migration-from-vuepress.md b/docs/en/guide/migration-from-vuepress.md index 01e4c170..b00c92c8 100644 --- a/docs/en/guide/migration-from-vuepress.md +++ b/docs/en/guide/migration-from-vuepress.md @@ -10,9 +10,9 @@ The sidebar is no longer automatically populated from frontmatter. You can [read ### Images -Unlike VuePress, VitePress handles [`base`](./asset-handling#base-url) of your config automatically when you use static image. +Unlike VuePress, VitePress handles [`base`](./asset-handling#base-url) of your config automatically when you use a static image. -Hence, now you can render images without `img` tag. +As a result, you can render images without needing an `img` tag. ```diff - foo @@ -20,7 +20,7 @@ Hence, now you can render images without `img` tag. ``` ::: warning -For dynamic images you still need `withBase` as shown in [Base URL guide](./asset-handling#base-url). +For dynamic images, you still need `withBase` as shown in [Base URL guide](./asset-handling#base-url). ::: Use `` regex to find and replace it with `![$2]($1)` to replace all the images with `![](...)` syntax.