diff --git a/src/content/docs/en/reference/configuration-reference.mdx b/src/content/docs/en/reference/configuration-reference.mdx index d8a57e01bb9f8..c31f726c194a8 100644 --- a/src/content/docs/en/reference/configuration-reference.mdx +++ b/src/content/docs/en/reference/configuration-reference.mdx @@ -462,8 +462,8 @@ Control the output file format of each page. This value may be set by an adapter #### Effect on Astro.url Setting `build.format` controls what `Astro.url` is set to during the build. When it is: -- `directory` - The `Astro.url.pathname` will include a trailing slash to mimic folder behavior; ie `/foo/`. -- `file` - The `Astro.url.pathname` will include `.html`; ie `/foo.html`. +- `directory` - The `Astro.url.pathname` will include a trailing slash to mimic folder behavior. (e.g. `/foo/`) +- `file` - The `Astro.url.pathname` will include `.html`. (e.g. `/foo.html`) This means that when you create relative URLs using `new URL('./relative', Astro.url)`, you will get consistent behavior between dev and build.